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!