Using a for loop to vary the angle (θ = 10 deg – 90deg )
4 ビュー (過去 30 日間)
古いコメントを表示
How do I make a for loop in Matlab for a range of theta for my velocity term of 10m/s?
0 件のコメント
採用された回答
Image Analyst
2022 年 10 月 27 日
Try this
numAngles = 100; % However many angles you want
theta = linspace(0, 90, numAngles);
or
theta = 10 : 5 : 90; % Adjust middle number to adjust the step size.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!