can any one create a matlab code for ploting this

1 commentaire

Walter Roberson
Walter Roberson le 14 Sep 2020
I suggest you look for information on logical indexing.

Connectez-vous pour commenter.

 Réponse acceptée

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam le 14 Sep 2020

1 vote

t=0:.001:1.0;
s4 = cos(80*pi*t-10*pi).*(t>0.5 && t<=1.0);

2 commentaires

the cyclist
the cyclist le 14 Sep 2020
You need to use just & and not the "short-circuit" && here.
wahid laib
wahid laib le 14 Sep 2020
Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by