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|
|How to implement a Decision Device,in matlab ?||PCB Layout , EDA & Simulations||0|
|I need help with following MATLAB Question||Homework Help||2|
|H||Matlab cell array comparision problem||General Electronics Chat||0|
|OFDM signal construction using MATLAB||Wireless & RF Design||1|
|B||Matlab||General Science, Physics & Math||6|