Fit an equation to a matrix

1 Ansicht (letzte 30 Tage)
som
som am 13 Nov. 2012
Hi all,
I have a matrix like
a=[3 7 6; 8 5 7; 1 4 7];
I want to fit an equation like below to all elements of a matrix.
how can I write this program
y= -5E-05*X^2 + 0.115*X + 1989.6,
Thanks in advance
  1 Kommentar
José-Luis
José-Luis am 13 Nov. 2012
What is x and what is y in that matrix?
doc fit

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by