Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab multiplication of polynomials with syms

  1. Nov 19, 2013 #1
    Is there anyway around this problem?

    syms m,n;
    x1 = [0, 1, 4, m];
    x2 = [3, n, 9, 27];
    Undefined function 'conv2' for input arguments of type 'sym'
  2. jcsd
  3. Nov 21, 2013 #2


    User Avatar
    Gold Member

    The conv and conv2 functions do not accept symbolic inputs.

    I recommend you just generate each symbolic polynomial and then multiply. I don't have MATLAB here but I think it would be something like this:

    syms m,n;
    x1 = x^2+4x-m;
    x2 = 3x^3+nx^2+9x+27;

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook