MATLAB: I need to factor a symbolic polynomial for example x^2-1 factorsymbolicSymbolic Math Toolbox i need an example of how to use the symbolic factor of matworks. if you can tell me how to factor x^2-1 i can take it from there thank you david Best Answer Just define x as symbolic variable and use factor() for your polynomial. Related SolutionsMATLAB: Plot symbolic polynomial This plots the real part of y against x:syms x yezplot(y-x^2-1i-2)Of course, it looks just the same assyms x yezplot(y-x^2-2)EDIT: For a 3D plot, you could do this:syms xezplot3(x,x^2+2,1)xlabel('x')ylabel('Real(y)')zlabel('Imag(y)') MATLAB: Irreducibility test syms xevalin(symengine, 'irreducible', x^2 - 2) Related QuestionHow to approximate a polynomial using the Symbolic ToolboxFactoring a symbolic matrix
Best Answer