MATLAB: Is there any way to get results of curve fitting

curve fittinggraphplotplottingtoolbox

I have a graph created with curve fitting toolbox, but unfortunately i can not get results of this work each X values (1 to 80). How can i achieve this problem?
Thx,

Best Answer

Hi,
if you want to calculate the y-values for your 80 x values you can do so:
x = [1 2 3 10 20 80]
y = your_fitted_model(x)
The result is a vector containing the corresponding y-values for the given x-values.
Look the documentation for the topic Fit postprocessing for further Information.
Best regards
Stephan