fitting 2d data set fit function is not working
Show older comments
Hi,
this is my data set and I wanted to try to get a fit for it.
well, did not work with
fit([x,y],z,'poly23');
first it said: Dimensions of matrices being concatenated are not consistent.
then I made x and y the same length and
it said: Y must be a column vector.
And now I am stack. help please.
thanks
Accepted Answer
More Answers (1)
Asliddin Komilov
on 4 Mar 2020
2 Comments
Thiago Henrique Gomes Lobato
on 4 Mar 2020
Sometimes yes, but in your case no. In your case you got an equation that basically perfect fits your curve.
Asliddin Komilov
on 5 Mar 2020
Categories
Find more on Linear and Nonlinear 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!