If I have a reduce normal form Matrix on matlab for example A = [ 1 0 0 3 ; 0 1 0 6 ; 0 0 1 5]
I want to graph it in an equation y = a + bx +cx^2 where a = 3 , b = 6 and c = 5(3,6,5 is the last value in the matrix above). How should i do this. I am trying to solve the lease square problem in linear algebra.
Can you please give me an advice of how to write a code to do this if the matrix increasing.