下载此文档

MATLAB练习题1.doc


文档分类: | 页数:约2页 举报非法文档有奖
1/2
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/2 下载此文档
文档列表 文档介绍
Practice 1
Practice how to initialize/save/load the MATLAB variables and arrays
The following MATLAB statements plot the functionfor the range .
X=0::10;Y=2*exp(-*X);plot(X,Y);
Use the MATLAB Edit Window to create a new empty M-file, type these statements into the file, and save the file with the name , execute the program by typing the name test1 in mand Window. What result do you get?
Get help on the MATLAB function exp using:(a)The“help mand typed in mand Window, and (b)the Help Browser.
Use the mand to determine how to take the base-10 logarithm of a number in MATLAB.
Suppose that and .Evaluate the following expressions using MATLAB.
a.
b.
c.
d.
Use the MATLAB Help Browser to find out how to creat a new directory from within MATLAB. Then, create a new directory called mynewdir under the current directory. Add the new directory to the top of MATLAB’s path.
Change the current directory to mynewdir

MATLAB练习题1 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数2
  • 收藏数0 收藏
  • 顶次数0
  • 上传人mh900965
  • 文件大小38 KB
  • 时间2018-03-17
最近更新