From: Walter Roberson on 31 Jul 2010 11:18 theasus wrote: > I couldn't get an answer or an idea for my question. Some of us have to sleep sometime. > Could you propose > any idea for this operation ? where is my mistake???? Your explot call is missing a ")".
From: us on 31 Jul 2010 11:52 "theasus " > >>ezplot(Q,[t(1) t(end)]; > When I wrote these codes my computer is locked.And I have tried many times but didn't get result.How can I get over from this problem? well... because you're command is NOT complete... ezplot((...]; THINK - THINK, again - then POST... us
From: theasus on 3 Aug 2010 02:00 Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50; >>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0','Dy(0)=0','t') >>ezplot(Q,[t(1) t(end)]); It doesn't work.The program has been locked.I couldn't get any result. Thanks...
From: us on 3 Aug 2010 02:22 "theasus " <theasus87(a)hotmail.com> wrote in message <i38b9a$bca$1(a)fred.mathworks.com>... > Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50; > >>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0','Dy(0)=0','t') > >>ezplot(Q,[t(1) t(end)]); > It doesn't work.The program has been locked.I couldn't get any result. > Thanks... DSOLVE just takes some time... us
From: Greg Heath on 3 Aug 2010 03:27 On Aug 3, 2:00 am, "theasus " <theasu...(a)hotmail.com> wrote: > Thanks for your considering but I have used these codes as you said; >>t=0:0.01/50:10/50;>>Q=dsolve('Dy+299*y+100171*y^2=21*sin(2*pi*50*t)*sin(2*pi*50*t)','y(0)=0','Dy(0)=0','t') > >>ezplot(Q,[t(1) t(end)]); > > It doesn't work.The program has been locked.I couldn't get any result. > Thanks... wHY DO YOU HAVE 2 INITIAL CONDITIONS FOR A 1ST ORDER ode? hOPE THIS HELPS. gREG.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Controlling Multi-processing in MATLAB Next: Keyboard error using Matlab with Linux |