extracting data points after fitting
Mostrar comentarios más antiguos
what i did is...i loaded file in command window...defined x and y parameters...
load test.dat x=test(:,1); y=test(:,2); cftool
den i opened cftool
in this window i used "interpolate" in fitting options...which gives an overplot on my original data thus giving me now a continous fitted curve...below it is residual(about 0)... now i want the data points of this fitted curve...how will i do it...??
1 comentario
Ahmed Alotaibi
el 17 de Mzo. de 2021
Aditi,
Have you solved this yet?
Respuestas (2)
David Sanchez
el 11 de Dic. de 2013
Save the fitting in the workspace, then:
my_pol = [fitting.p1 fitting.p2]; % insert the parameters from your fitting
X = 0:0.1:10; % define your x data here
Y = polyval(my_pol,X); % your Y data
aditi
el 11 de Dic. de 2013
0 votos
Categorías
Más información sobre Interpolation 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!