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
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)...