Not enough input arguments?
Mostra commenti meno recenti
I'm trying to make a user-define function that accepts time as an input and gives me an output of height. Here is the code I am using currently.
For some reason it keeps giving me the error on line 2 that I do not have enough input arguments. What does this mean? Thank you!
function h=height(t)
h=(-(9.8/2).*t.^2)+(125.*t)+500;
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Platform and License in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!