Search results

  1. Q

    MATLAB Solve matrix differential equations using Matlab

    For d V/d t=AV + VA^{T}+ D, where A and D are the given 6*6 matrices, A=[-0.5*K 0 0 0 0 G1;0 -0.5*K 0 0 -G1 0;0 0 -0.5*K 0 0 -G2;0 0 0 -0.5*K -G2 0;0 G1 0 -G2 -0.5*RM 0;-G1 0 -G2 0 0 -0.5*RM] D=[0.5*K 0 0 0 0 0;0 0.5*K 0 0 0 0;0 0 0.5*K 0 0 0;0 0 0 0.5*K 0 0;0 0 0 0 0 0;0 0 0 0 0...
  2. Q

    MATLAB Matrix differential equation using matlab

    For d X/d t=AX + XB+ C, where A, B, and C are the given 6*6 matrices, I use the following way to solve it, let X= X11 X12 X13 X14 X15 X16 X21 X22 X23 X24 X25 X26 X31 X32 X33 X34 X35 X36 X41 X42 X43 X44 X45 X46 X51 X52 X53 X54 X55 X56 X61...
  3. Q

    MATLAB Eigenvalues using matlab

    It works. Thanks a lot!
  4. Q

    MATLAB Eigenvalues using matlab

    I use the command eig(A) to calculate the eigenvalues of the matrix A, in which k,α,β,γ are variables, A=[-0.5*k -i*α 0;-i*α -0.5*γ -i*β;0 i*β -0.5k]; eig(A) but the MATLAB shows "Undefined function or variable 'k'." I don't know how to define the variables k,α,β,γ. Can anyone tell me...
Top