![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 3
OS: vista
|
Matlab Help
HI, i am using ODE45 to solve this:
My M file is: function dx=p(t,x) dx=zeros(size(x)); u = (0.177*x(2)/(0.005 + x(2))); f =((u*3443*20*exp(u*t))/(28*0.45)); v = 3443 + f; dx(1)=((0.177*x(1)*x(2))/(0.005+x(2))) - ((f*x(1))/v); dx(2)=(28*f/v) - (0.177*x(1)*x(2)/(0.45*((0.005+x(2))))); and the code in the work space is: [t,x]=ode45(@p, [0,4],[28;60]); plot(t,x) I get a plot of x1 and x2 against t. I was just wondering if there is some way of plottin u or f against time? Apprecaite any help. Thanks, rem |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|