matlab及其工程应用_b卷)-10级

matlab及其工程应用_b卷)-10级

ID:18231976

大小:130.50 KB

页数:13页

时间:2018-09-15

matlab及其工程应用_b卷)-10级_第1页
matlab及其工程应用_b卷)-10级_第2页
matlab及其工程应用_b卷)-10级_第3页
matlab及其工程应用_b卷)-10级_第4页
matlab及其工程应用_b卷)-10级_第5页
资源描述:

《matlab及其工程应用_b卷)-10级》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、试题编号:重庆邮电大学2010/2011学年2学期MATLAB及其工程应用(普通班)试卷(期末)(B)(闭卷)题号一二三四五六七八总分得分评卷人一、Fillintheblanks.(1scoreseach.Total30scores.)1.1UseMATLABoperator':'togeneratethevectorof[0,,,…]___1.2Anisacollectionofdatavaluesorganizedintorowsandcolumns,andknownbyasinglename.1.3WritetheresultsofthefollowingMATLABstatemen

2、ts,ifthereisanerror,pleasefill“error”.1)a=[123;456],a(5)=_;a(8)=_;a(-2)=_2)x=1:0.02:10;x=3)u=[1:3]';[uu]=___4)zeros(3,2)=___;ones(3)=___;a=[111417;121518;131619];I=eye(3);a*I=___5)z=[-20914];z(2)=5;z=___ 6)u=[22-31570];u(1)=u(4);u=___ 7)v=[1213-39-11];v(6)=7,v=___ 8)w=[147;258;369];w(2:end,2:end)=

3、0;w=___ 9)c=[123;456;789];c(1,[13])=-3;c=___ 10)date=[num2str(1)'-July-'num2str(2011)];ans=___MATLAB及其工程应用试卷第13页(共9页)11)fprintf('Areaofacirclewithradius%dis%7.4f',2,pi*2^2);ans=___12)a=[12;34];b=[56;78];a+b=__;a*b=__;a.*b=__;2a=__1.4Assumethatarray'array1'isdefinedasshown,anddeterminethecontentsof

4、thefollowingsub-arrays.array11=[4321;4678;9101112]1)array11(3,:)=___________2)array11(1:3,[2233])=__3)array11([23],[43])=__1.5Assumethata,b,c,anddareasdefined,andevaluarethefollowingexpressions:a=[0,5;3,-2];b=[-1,2;0,3];c=2;d=[3,-5,7;1,0,2]1)~(a>b)ans=_____2)a>c&b>cans=________3)a<=cans=_____1.6As

5、sumethata,b,c,anddareasdefined,andevaluarethefollowingexpressions:a=1;b=4;c=5;d=3MATLAB及其工程应用试卷第13页(共9页)1)a*b^2>a*cans=_______2)d

6、b>aans=____3)(d

7、b)>aans=_____二、Chosethebestanswerforthefollowingquestions.2scoreseach.Total20scores.)2.1AmongthefollowingMATLABvariablenames,theillegaloneisA.FaintB.don

8、't_bother_meC.Help_meD.godSaveMe2.2A=[123;965;347],thenA(1,:)is_____A.[123]B.[1]C.[1;7]D.[123;965;347]2.3AmongthefollowingcommentsaboutMATLAB,thecorrectoneis_____________A.MATLABcannotplot3-DpicturesB.MATLAB'svariablesneedtobedefinedbeforetheyareusedC.AMATLABfunctioncanreturnmorethan1variableD.AMA

9、TLABarraycannothave'string'inside2.4Aboutthesimultaneousequations(线性方程组)'Ax=b',MATLAB及其工程应用试卷第13页(共9页)thefollowingMATLABstatementwhichcansolvethevalueof‘x'is_____________A.x=A/bB.x=A./bC.x=AbD.x=A.b2.5Assumex=1

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。