How to plot this eqaution

8 Ansichten (letzte 30 Tage)
wahid laib
wahid laib am 14 Sep. 2020
Kommentiert: wahid laib am 14 Sep. 2020
can any one create a matlab code for ploting this
  1 Kommentar
Walter Roberson
Walter Roberson am 14 Sep. 2020
I suggest you look for information on logical indexing.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by