Fit in matlab equations
Show older comments
How can I fir cube equation in matlab
Answers (1)
Daniel Pereira
on 17 Jul 2013
Did you try
z = x^-3;
p = polyfit(z,y,1)
then
yy = p(1) * z + p(2);
which has the form
yy = a * x.^-3 + b;
1 Comment
Ede gerlderlands
on 17 Jul 2013
Edited: Ede gerlderlands
on 17 Jul 2013
Categories
Find more on Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!