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.'
|Thread starter||Similar threads||Forum||Replies||Date|
|B||Matlab||General Science, Physics & Math||6|
|B||MOORE-PENROSE MATLAB||General Science, Physics & Math||0|
|Y||problem implementing directivity of array factor in matlab||Wireless & RF Design||0|
|B||What does these two block in mppt represent?||General Electronics Chat||2|
|What is this MATLAB uni assignment about? (networks and nodes etc)||Programming & Languages||2|
by Jake Hertz