《matlab使用教程》ppt课件

上传人:shaoy****1971 文档编号:115001766 上传时间:2019-11-12 格式:PPT 页数:3 大小:321.31KB
返回 下载 相关 举报
《matlab使用教程》ppt课件_第1页
第1页 / 共3页
《matlab使用教程》ppt课件_第2页
第2页 / 共3页
《matlab使用教程》ppt课件_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《《matlab使用教程》ppt课件》由会员分享,可在线阅读,更多相关《《matlab使用教程》ppt课件(3页珍藏版)》请在金锄头文库上搜索。

Matlab工程应用基础 Application of Matlab in Engineering,( 1)编写一个 M 文件,画出下列分段函数所表示的曲面。 X,Y=meshgrid(-3:0.1:3); T=X+Y; if T1 Z=0.54*exp(-0.75*X.2-3.75*Y.2-1.5*Y); elseif -1T=1 Z=0.7575*exp(-X.2-6*Y.2); else Z=0.5457*exp(-0.75*X.2-3.75*Y.2+1.5*Y); end surf(X,Y,Z) %plot3(X,Y,Z) %mesh(X,Y,Z),( 2)编写一个求圆的面积的函数文件。 function s=area(r) % AREA For calculating the area of a round . % area.m s=pi*r2; ( 3)编写一个求圆的面积的命令文件 Radius=input(Please input the radius: ); Area=pi*Radius2;,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 职业教育

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号