- #1
Casablanca
- 1
- 0
hello everyBody..
am a beginner in MATLAB i need lil help in the equation blew.. and if anyone has any tutorial for MATLAB i'll b more than welcome to accept them :P
y=e^x . cos x
plot : pi greater than x greater than 0
then plot : -pi smaller than x smaller than one
then combine the two graphs
i tried to do it but i get a lot of errors,,
my trial :
x=0:pi;
y=exp(x)* cos(x)
subplot (3,1,1)
plot (x,y)
x1=-pi:0;
y1=exp(x)* cos(x)
subplot (3,1,2)
plot (x1,y1)
subplot(3,1,3)
plot (y,y1)
=S
thanks in advance..
am a beginner in MATLAB i need lil help in the equation blew.. and if anyone has any tutorial for MATLAB i'll b more than welcome to accept them :P
y=e^x . cos x
plot : pi greater than x greater than 0
then plot : -pi smaller than x smaller than one
then combine the two graphs
i tried to do it but i get a lot of errors,,
my trial :
x=0:pi;
y=exp(x)* cos(x)
subplot (3,1,1)
plot (x,y)
x1=-pi:0;
y1=exp(x)* cos(x)
subplot (3,1,2)
plot (x1,y1)
subplot(3,1,3)
plot (y,y1)
=S
thanks in advance..