Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. charlieryan

    creating a diagonal matrix in matlab

    hi I'd like to create a matrix that looks something like; a c 0 0 0 0 b a c 0 0 0 0 b a c 0 0 0 0 b a c 0 0 0 0 b a c 0 0 0 0 b a Where b, a, and c are contants. I'l like to be able to set the matrix size as well [the matrix should be square]. Any ideas thanks! Charlie
  2. charlieryan

    Can matlab solve these coupled odes?

    Hi I have a nastyish looking set of coupled ode's; can matlab solve them using an ode.. function? Here they are; D/Dt(y_1)=f{y_2,D/Dx(Y_1),y_1, D/Dx(y_2)} D/Dt(y_2)=f{y_1, y_2, y_3, y_4, D/Dt(y_1), D/Dx(y_1),D/Dx(y_2), D/Dx(y_3)} D/Dt(y_3)= f{y_1, y_2, y_3, D/Dt(y_1), D/Dx(y_1),D/Dx(y_2)...

Part and Inventory Search