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

Sanjana Ramakrishnan
Sanjana Ramakrishnan 2017 年 4 月 17 日

0 投票

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)

この質問は閉じられています。

タグ

質問済み:

2017 年 4 月 13 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!