I would like to know if it is possible to evaluate a polynomial as a matrix in scilab.
For example :
A = floor(10*rand(3,3)); P = poly(A,"x"); horner(P,A)
should return the null matrix, but it evaluates P in each coefficient of A instead…
I tried horner(P,A) and P(A) but it doesn’t work.
New contributor
cuati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.