This video describes how to solve second order initial value problems in Matlab, using the ode45 routine. A full res version can be found at http://blanchard.ep.wisc.edu These videos were recorded...
This video describes how to solve second order initial value problems in Matlab, using the ode45 routine. A full res version can be found at http://blanchard.ep.wisc.edu These videos were recorded for a course I teach as part of a distance masters degree. See http://mepp.engr.wisc.edu
Like to rate videos and let people know what you think?
Automatically share your ratings, favorites, and more on Facebook, Twitter, and Google Reader with YouTube Autoshare.
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
Like to share videos with friends?
Automatically share your ratings, favorites, and more on Facebook, Twitter, and Google Reader with YouTube Autoshare.
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
hi again. im really lost now with my differential equation (d2i/dt2)=(sin(w*t)/(L*C*Rs))- (di/dt)/(L*Rs)-i/(L*C). i need to solve it with Eulers method and i dont understand what should i enter to matlab to solve.
First you break the second order equation into two first order equations. Then you put together an Euler method for the system. Wikipedia has some info on this.
I tried to follow the instructions given here but i m getting the following error- Strings passed to EVAL cannot contain function declarations. Is this bcoz. i m using a old version(3.6.5)? Plz help
I need another favor please: how to solve : m(d^2/dt^2)+c(dx/dt)+kx=u(t); with initial conditions: x(0)=1, (dx/dt)(0)=2; and u(t) is input = sin(2*pi*t)
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
i need to solve it with Eulers method and i dont understand what should i enter to matlab to solve.
Strings passed to EVAL cannot contain function declarations.
Is this bcoz. i m using a old version(3.6.5)?
Plz help
[t,y]=ode45('f',[0 15], [600,0]);
how you run this ?
you create 2 .m files ? where you saved them what ar ethe names ?
coul you please answer
function rk=f(t,y)
rk=[y(2); -9.81+4/14*y(2).^2/80];
Then type these into the command window
[t,y]=ode45(@f,[0 15], [600,0]);
plot(t,y(:,1))
Now it works,
I need another favor please:
how to solve : m(d^2/dt^2)+c(dx/dt)+kx=u(t);
with initial conditions: x(0)=1, (dx/dt)(0)=2; and u(t) is input = sin(2*pi*t)
blanchard "dot" ep "dot" wisc "dot" edu/PublicMatlab/index.html#IV P