How do I subtract matrix polynomials? I want to subtract D which is a cell array from Y a matrix polynomial
syms sX=[1 2 3 4; 5 6 7 8];Y=(s-2)*X;D = {[1 2 ] , [1 3] ; [1 6] , [5 2] };M=Y-D
Currently i'm getting error for this code saying 'Error using mupadmex Cell input must have string contents.'
Best Answer