![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/412603/image.jpeg)
How to produce a plot for signals?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Connor Wright
am 13 Nov. 2020
Bearbeitet: Setsuna Yuuki.
am 13 Nov. 2020
Hello,
I have to produce a plot for a sine wave using the following values. Uni being what it is at the moment it's pointless trying to get help from Lecturers.
Values for this plots are as follows -
𝑥 = 2sin (5𝑡)
𝑦 = 2cos (3𝑡)
I understand how to actually tell MatLab to produce the graph but that's the limit of my understanding here.
Thanks
0 Kommentare
Akzeptierte Antwort
Setsuna Yuuki.
am 13 Nov. 2020
Bearbeitet: Setsuna Yuuki.
am 13 Nov. 2020
t = 0:1e-3:5 %time of sampling
x = 2*sin(5*t); %evaluated function
plot(t,x); %plot(axis x,axis y)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/412603/image.jpeg)
More info: https://es.mathworks.com/help/matlab/ref/plot.html
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!