Getting errors with code.
1 回表示 (過去 30 日間)
古いコメントを表示
Could someone help me figure out why I'm getting errors with the function I have attached. It is a trajectory function that takes the initial velocity and the angle as inputs, and the output should be an animation plot of the trajectory (kind of like angry birds.) I'm having trouble with the animation. Thank you very much.
0 件のコメント
回答 (1 件)
per isakson
2015 年 2 月 24 日
編集済み: per isakson
2015 年 2 月 24 日
The first problem is that t is not defined before line 7, which is
[xt,yt] = trajectory(v0,theta,t,g);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!