how to find the roots of polynomial equations with coefficients of variable is given in matrix form?

3 views (last 30 days)
Hi,
I am a beginner in using MATLAB. I would like to know how do you write in MATLAB the polynomial equation below? I am solving for the values (i.e. roots) of z:
Az^3 + Bz^2 +Cz = 0
Note: A, B, C & D are in matrix form, as shown below:
A = [2,1;1,2] B = [-3,0;-2,-5] C = [-2,-4;0,2] D = [0,0;0,0]
Thanks in advance for your help.
  7 Comments
Lawrence Galvez
Lawrence Galvez on 22 Feb 2018
Edited: Lawrence Galvez on 22 Feb 2018
my first attempt to try 'syms' & 'solve' functions as attached.
still learning the 'parameter' & 'Returnconditions', maybe will yield to find the complete solutions.
Also reading these subtopics: - "Solve Multivariate Equations and Assign Outputs to Variables" - "Solve Polynomial Equations of High Degree"

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!