MATLAB: How to multipy two polynomial expression polynomial multiply hi i have to multiply two polynomial equations example:a=1+x+x^2 b=1+X output should be 1+2x+2x^2+x^3 plz do reply… Best Answer syms xa=1+x+x^2b=1+xout = expand(a*b)orcoeffa = [1 1 1];coeffb = [1 1];out = conv(coeffa,coeffb); Related SolutionsMATLAB: How to Plot a second derivative equation Try this: syms x(t) equ(t) Dx = diff(x);D2x = diff(x,2);w = 1% dt = 1/1000;% t = 0:dt:1000*dt; % Not needed Hereequ = D2x + (Dx)^3 + x(t)^2 *Dx + x(t);equ(t) = subs(equ, x, {exp(-1i*w*t)+exp(1i*w*t)}) % Substitute Expression For figurefimplicit(equ, [-1 1]) % Use ‘fimplicit’ To Plot ‘equ(t)=0’gridThe plot is absolutely not interesting, however the code runs without error! MATLAB: Dot multipy unequal matrix size. Possible Basic Maths:Just for matrix multiplication, you can The number of columns in the first matrix must be equal to the number of rows in the second matrix.But for dot multiplication, how can you do that? Suppose m1(1,1)*m2(1,1)..so onNot have sufficient elements to pair each other. For dot operation both must have same sizes.So the answer is No. Related QuestionHow to do plotting polynomial( 2x^-2+1) this x with power of -1 . how to do in mathlabNormalization of JacobiP functionHow to interpret this expressionNormalizing a symbolic expression
Best Answer