cfit object as Data on line

Hello,
i am solving problem. I am using graphs in GUIDE like this:
handles.lines.firstLine_bezmod = line('Parent',handles.axes_realbezmod,'XData',handles.glob_xdata_bezmod,'YData',handles.glob_ydata_bezmod,'Color','b','LineStyle','o');
handles.lines.secondLine_bezmod = line('Parent',handles.axes_realbezmod,'XData',handles.glob_xdata_bezmod,'YData',handles.glob_z,'Color','r','LineStyle','-');
I have also handles.lines.thirdLine_bezmod and I need to put there a cfit object called fitresult (from curvefittingtoolbox) as a data (something like this ->
handles.lines.thirdLine_bezmod = line(fitresult ... )
How can I handle this problem?
Thanks.

Réponses (0)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by