matlab做曲线拟合

python 做曲线拟合 https://blog.csdn.net/qq_16583687/article/details/72723708

matlab做拟合函数,可以在命令行输入:数据x,数据y,cftool拟合工具,就可做拟合函数了

 2:matlab将cftool中所有曲线拟合到一张图片上

https://blog.csdn.net/zyj1286076714/article/details/50375935

3:matlab 给多条曲线加备注

用text

4:MATLAB添加带箭头的直线

annotation('arrow',[0.8,0.6],[0.4,0.7],'LineStyle','-','color','k','LineWidth',2)    %  该方法中的数量都小于1,是按比例来定位位置的。

从(0.8*length,0.4)坐标到(0.6*length,0.7)坐标。

5:两点之间画直线

line([-8.0901699,-8.0901699],[1.17557050,-1.17557050])

原文地址:https://www.cnblogs.com/liyafei/p/10242506.html