Plot a sine wave with the following... how to plot it?
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
SWETA K
el 19 de Feb. de 2021
0 votos
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');
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!