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

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 个)

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)

此问题已关闭。

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!