How to plot this eqaution

can any one create a matlab code for ploting this

1 Commento

I suggest you look for information on logical indexing.

Accedi per commentare.

 Risposta accettata

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