首页 > 其他 > 详细

matlab画图命令笔记

时间:2019-04-12 20:13:33      阅读:140      评论:0      收藏:0      [点我收藏+]

1 函数画图fplot

% Create a function plot of y = x^3 over the domain of [-2 2].
% Plot with a thick red line.
fplot(@(x) x.^3, [-2 2], ‘r‘, ‘LineWidth‘,2) 
% Add labels and title
xlabel(‘x‘)
ylabel(‘y‘)
title(‘y = x^3‘)

 

 

参考网站:

https://ww2.mathworks.cn/matlabcentral/profile/authors/3166380-mathworks-plot-gallery-team

https://ww2.mathworks.cn/matlabcentral/fileexchange/?term=authorid:196102

matlab画图命令笔记

原文:https://www.cnblogs.com/doctornut/p/10698226.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!