How to plot this eqaution

1 visualizzazione (ultimi 30 giorni)
wahid laib
wahid laib il 14 Set 2020
Commentato: wahid laib il 14 Set 2020
can any one create a matlab code for ploting this
  1 Commento
Walter Roberson
Walter Roberson il 14 Set 2020
I suggest you look for information on logical indexing.

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by