Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to plot the graph

5 Ansichten (letzte 30 Tage)
nkumar
nkumar am 20 Apr. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
PLease tell how to plot the graph from the equation

Antworten (1)

Chandrasekhar
Chandrasekhar am 20 Apr. 2013
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 Kommentar
nkumar
nkumar am 22 Apr. 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)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by