Info
此问题已关闭。 请重新打开它进行编辑或回答。
Help with HW question regarding Sine waves
1 次查看(过去 30 天)
显示 更早的评论
I may be greatly overthinking this, but I want to make sure since I am new to Matlab.
The question requires me to create a sine-like wave from 1 radian to 30 radians, with 1 radian increments.
I have programmed it as follows
x = (1:1:30)
y = sin(x)
plot (x,y)
Is this the correct approach? Thank you.
0 个评论
回答(1 个)
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!