资源描述:
《matlab语言基础与应用new》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter1IntroductionThischapterincludesfivesections.Theyare“WhatisMATLAB?”,“StartingandQuitingMATLAB”,“MATLABDesktop”,“AdvancedApplicationsofMATLAB”and“HelpSystems”,respectively.1.1WhatisMATLAB?MATLABstandsformatrixandlaboratory,isahighperformancelanguagefortechnicalcomputi
2、ng.AndMATLABisanadvancedcomputerlanguagewhosebasicdataelementisamatrixthatdoesnotrequiredimensioning.ItwasoriginallywrittentoprovideeasyaccesstomatrixsoftwaredevelopedbytheLINPACKandEISPACKprojects.Today,MATLABincorporatetheLAPACKandBLASlibraries,andembeds(引入)thestateofthea
3、rtformatrixmanipulations.MATLABintegrates(整合)computation,visualization,andprogramminginaneasy-to-useenvironmentwhereproblemsandsolutionsareexpressedinfamiliarmathematicalnotations.Typicalusesincludemathandcomputation(数学运算),algorithmdevelopment(代数运算),dataacquisition(数据获取),mo
4、deling,simulationandprototyping(建模与仿真),dataanalysis,exploration,andvisualization(数据分析研究与可视化),scientificandengineeringgraphics(科技绘图),applicationdevelopment,includinggraphicaluserinterfacebuilding(应用开发,包括GUI),andsoon.MATLABfeaturesafamilyofadd-onapplication-specificsolutionsc
5、alledtoolboxes.VeryimportanttomostusersofMATLAB,toolboxesallowyoutolearnandapplyspecializedtechnology.ToolboxesarecomprehensivecollectionsofMATLABfunctions(M-files)thatextendtheMATLABenvironmenttosolvespecialproblems.Areasinwhichtoolboxesareavailableincludesignalprocessing(
6、信号处理),controlsystems(控制系统),neuralnetworks(神经网络系统),fuzzylogic(模糊逻辑),wavelets(小波分析),simulation(仿真模拟),andsoon.MATLABisahigh-levelmatrix/arraylanguagewithcontrolflowstatements(控制流程语句),functions,datastructures,input/output,andobject-orientedprogrammingfeatures.Itallowsboth"progr
7、amminginthesmall"torapidlycreatequickanddirtythrow-awayprograms,and"programminginthelarge"tocreatelargeandcomplexapplicationprograms.TherearemanyadvantagesofMATLABfortechnicalprogramming:(1)EaseofuseMATLABisaninterpretedlanguage,likemanyversionsofBasic.LikeBasic,itisveryeas
8、ytouse.Theprogramcanbeusedasascratchpad(便笺本)toevaluateexpressionstypedatthecommand