随笔分类 -  Matlab

摘要:t=(0:0.01:2)*pi; x=sin(t); y=cos(t); z=cos(2*t); plot3(x,y,z,'r-','linewidth',1.5); box on; %打开坐标系边框 legend('三维曲线作图'); x=0:0.2:1; y=x; [x y]=meshgrid( 阅读全文
posted @ 2018-08-21 18:30 clemente 阅读(481) 评论(0) 推荐(0)
摘要:也可以使用GUI工具箱来产生多项式拟合 选定matlab 工作空间中x,y的值 然后点击matlab菜单栏的绘图,选择如下 或者直接在命令行窗口输入cftool 也可以指定函数进行拟合 阅读全文
posted @ 2018-08-21 18:06 clemente 阅读(739) 评论(0) 推荐(0)