how to plot the graph

PLease tell how to plot the graph from the equation

Respuestas (1)

Chandrasekhar
Chandrasekhar el 20 de Abr. de 2013

0 votos

for i = 1:10 if(t(i) <= 0.75 && t(i) >= 0.5) r(i,1) = (a*(1-cos(8*pi*t)))/2; else r(i,1) = 0; end end
plot(t,r);

1 comentario

nkumar
nkumar el 22 de Abr. de 2013
i get error
Undefined function 't' for input arguments of type 'double'.
Error in Untitledgr (line 2) if(t(i) <= 0.75 && t(i) >= 0.5)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 20 de Abr. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by