plotting sin wave signal
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jimmy W
el 10 de Abr. de 2017
Comentada: Jimmy W
el 10 de Abr. de 2017
Hi, I have the following signal, f(t) = sin(t), -(pi/2)<= t <= (pi/2), what is the code to plot it for three whole periods? Thank you for the help!
1 comentario
Respuesta aceptada
Walter Roberson
el 10 de Abr. de 2017
You defined -(pi/2)<= t <= (pi/2) . Your function does not have a definition outside of that one period, so it is not meaningful to plot it for multiple periods.
You could extend your definition:
x = linspace(-pi/2 , 5*pi/2);
Más respuestas (0)
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!