That should work, but your G and C matrix must be of the same size/dimensions, and your s variable should be a complex number, not a matrix.G matrix and C matrix,
I wanna get A matrix equals to G matrix plus C matrix times s,
which s is j*w.
Just program A=G+s*C, matlab shows 'Inner matrix dimensions must agree.'
Thanks, I found my 's' is a matrix not a conplex number...That should work, but your G and C matrix must be of the same size/dimensions, and your s variable should be a complex number, not a matrix.
If it's still not working, list your code here.
by Aaron Carman
by Jake Hertz
by Jake Hertz
by Duane Benson