How to plot this eqaution

8 visualizaciones (últimos 30 días)
wahid laib
wahid laib el 14 de Sept. de 2020
Comentada: wahid laib el 14 de Sept. de 2020
can any one create a matlab code for ploting this
  1 comentario
Walter Roberson
Walter Roberson el 14 de Sept. de 2020
I suggest you look for information on logical indexing.

Iniciar sesión para comentar.

Respuesta aceptada

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam el 14 de Sept. de 2020
t=0:.001:1.0;
s4 = cos(80*pi*t-10*pi).*(t>0.5 && t<=1.0);
  2 comentarios
the cyclist
the cyclist el 14 de Sept. de 2020
You need to use just & and not the "short-circuit" && here.
wahid laib
wahid laib el 14 de Sept. de 2020
Thank you

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by