PMack
Aerospace
- Mar 12, 2005
- 2
I have a matrix that is a function of the symbolic variable s, and i'm trying to solve for the value of s that makes the determinant of the matrix = 0. Here is the code:
syms s
matrix=[s^2+1 s^2*2+1;2*s^2 3*s^2+1];
d=det(matrix);
solve('d=0');
I'm almost positive the problem is with the solve line because everything works up to that point. So how do I get the solve command to solve an equation that's in terms of another variable?
syms s
matrix=[s^2+1 s^2*2+1;2*s^2 3*s^2+1];
d=det(matrix);
solve('d=0');
I'm almost positive the problem is with the solve line because everything works up to that point. So how do I get the solve command to solve an equation that's in terms of another variable?