Hello, I'm trying to input a matrix
syms s A=[2+4/s -4/s -2 2/(s(s+2));-4/s 4+4/s -2 0;-2 -2 4+s 0]
And it gives the error: Error using sym/subsindex (line 766) Invalid indexing or function definition. When defining a function, ensure that the arguments are symbolic variables and the body of the function is a SYM expression. When indexing, the input must be numeric, logical, or ':'.
Is there a way to solve for my 3 variables in terms of s using the toolbox?
Thanks, Mark
Best Answer