Why do I get "Error using .* Matrix dimensions must agree." when input x=t.*xpos+xo; any recommendations on how to eliminate the error?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Trying to plot a projectile motion function. attached is my script thus far
Answers (1)
Azzi Abdelmalek
on 7 Feb 2014
Check the size of your variables
size(t)
size(xpos)
size(x0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!