Borrar filtros
Borrar filtros

Getting the values from the curve fitted model

3 visualizaciones (últimos 30 días)
Hirak Basumatary
Hirak Basumatary el 5 de Ag. de 2018
Comentada: Hirak Basumatary el 6 de Ag. de 2018
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
  1 comentario
jonas
jonas el 5 de Ag. de 2018
Editada: jonas el 5 de Ag. de 2018
How did you fit your model? fit? polyfit?

Iniciar sesión para comentar.

Respuesta aceptada

jonas
jonas el 5 de Ag. de 2018
If you used fit:
p=fit(...) %your model
y=p(x) %evaluate your model at x
Similarily, if you used polyfit:
p=polyfit(...) %your model
y=polyval(p,x) %evaluate your model at x

Más respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by