Plotting with a step
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
回答 (1 件)
Star Strider
2020 年 9 月 3 日
0 投票
2 件のコメント
Triston Pryor
2020 年 9 月 7 日
Star Strider
2020 年 9 月 7 日
The step works (the default step is 1, as the documentation states):
a = -90:90;
Note that the argument is in degrees, however the cos function accepts radian arguments. That is likely the problem. Since this appears to be homework, I leave that for you to solve.
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!