Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. wildany

    for loop

    Hi Greg, Please neglect Y=C*Xdot0 and Xdot0=A*Xo+B*ft the problem is only inside the 'for loop'. Thanks a lot Wildany
  2. wildany

    for loop

    Dear All, I want to create FOR LOOP by Matlab to solve this equation : x(t+dt)=(dt*A+I)*x(t)+B*dt in which A =[0 1;-6 -5] I=eye(2) B=[0;1] dt=0.01 initial condition x(0)=[0;0] x(t) = vector 2x1 Any one can give me some ideas ? I have created some scripts in m file as per below : ft=1...
Back
Top