cfit object as Data on line

1 次查看(过去 30 天)
Dave Novotny
Dave Novotny 2016-4-11
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fit Postprocessing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by