the matrix is [r,c] size
each row should have an equation of x^(c-1) +x^(c-2) … i need the functions to plot on the same graph
for example A=[2 5 8;-3 4 6]
first equation should be 2.*(x.^2) +5.*x +8
second equation should be -3.*(x.^2)+4.*x +8
example2 A=[4 2;3 5]
f1=4.*x +2
f2=3.*x+5
Best Answer
Use the polyval function: