Leverrier. How do I plot this function?

How do i write this in MATLAB and also display it?
A is the matrix input.
I only know the coefficients who are generated n times.
a=size(A,1);
M=zeros(a);
c=zeros(1,a+1);
c(1)=1;
for k=2:a+1
M=A*M+c(k-1)*eye(a);
c(k)=-1/(k-1)*trace(A*M);
end

Answers (0)

Categories

Asked:

on 3 Jun 2020

Community Treasure Hunt

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

Start Hunting!