Info

此问题已关闭。 请重新打开它进行编辑或回答。

Please help me to drawing graph(sin graph + width )

2 次查看(过去 30 天)
I want to drawing graph like picture that I uploaded.
could you help me ? please I don't know how to drawing like that.

回答(1 个)

Sanjana Ramakrishnan
You can plot a sin wave using 'sin' function. Refer the below link and example:
https://www.mathworks.com/help/matlab/ref/sin.html
Example:
t = [0:0.01:2*pi]
a = sin(t);
plot(t,a)

此问题已关闭。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!