Plot a sine wave with the following... how to plot it?
Ältere Kommentare anzeigen
Create a time vector, sine wave, 5 periods, 1 kHz, amplitude 2 volts in 5 x 1024 samples (time axis) as well as 5 periods in 4096 samples
Akzeptierte Antwort
Weitere Antworten (1)
SWETA K
am 19 Feb. 2021
0 Stimmen
x=0:3.14/100:2*3.14;
y=sin(x);
plot(x,y);
title('A Plot of Sine Curve');xlabel ('x-axis');
ylabel ('y-axis');
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!