Info

This question is closed. Reopen it to edit or answer.

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

4 views (last 30 days)
JUNYONG SONG
JUNYONG SONG on 13 Apr 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I want to drawing graph like picture that I uploaded.
could you help me ? please I don't know how to drawing like that.

Answers (1)

Sanjana Ramakrishnan
Sanjana Ramakrishnan on 17 Apr 2017
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!