Borrar filtros
Borrar filtros

how can we plot this sine wave

3 visualizaciones (últimos 30 días)
sesha sai
sesha sai el 20 de Abr. de 2019
Comentada: sesha sai el 20 de Abr. de 2019
Untitledkj.jpgit was source

Respuesta aceptada

Geoff Hayes
Geoff Hayes el 20 de Abr. de 2019
sesha - the only difference between this and the usual sine curve is that it is "inverted". Try doing
x = -pi:0.01:pi;
y = -1 * sin(x);
plot(x,y);
and see how the -1 scalar gives you what you are looking for.

Más respuestas (0)

Categorías

Más información sobre Simulink 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!

Translated by