Can we use cftool to plot only the final smooth curve and not the original data?
1 次查看(过去 30 天)
显示 更早的评论
I am getting the following image using cftool. As you can see, the blue dots are the original data values and hence I cannot clearly see the smooth fitted curve that I want. Is there a way to not plot the original values and get the final smooth curve only?
Thanks.
0 个评论
采纳的回答
Walter Roberson
2016-5-20
I did not find any way to do it directly through the tool. However, if you ask it to generate code, then look inside the generated code to the line
plot( fitresult, [xData, yData], zData );
If you change that to
plot( fitresult )
then the original data will not be plotted.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!