Plotting these sin waves.

9 Ansichten (letzte 30 Tage)
erik polakovic
erik polakovic am 28 Feb. 2019
Beantwortet: Ethar Alkamil am 28 Feb. 2019
Hello everyone and thanks in advance for help,I am new to matlab and i need to create plot which looks exactly like this and i dont know howJvi9.png

Akzeptierte Antwort

Ethar Alkamil
Ethar Alkamil am 28 Feb. 2019
Try this:
i=1.2; Ur=2;
plot((0:360),sind((0:360))*Ur,'b'), axis([0 360 -Ur Ur])
hold on
plot((0:360),sind((0:360))*i,'r'), axis([0 360 -Ur Ur])

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by