fitting 2d data set fit function is not working
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Asliddin Komilov
el 4 de Mzo. de 2020
2 comentarios
Thiago Henrique Gomes Lobato
el 4 de Mzo. de 2020
Sometimes yes, but in your case no. In your case you got an equation that basically perfect fits your curve.
Asliddin Komilov
el 5 de Mzo. de 2020
Categorías
Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
