资源描述:
《downey,physical modeling in matlab》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、PhysicalModelinginMATLABRAllenB.DowneyVersion1.1.12RPhysicalModelinginMATLABCopyright2007,2008AllenB.DowneyPermissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version1.1oranylaterversionpublishedbytheFreeSoftwareFoundation;thisbookcontai
2、nsnoInvariantSections,noFront-CoverTexts,andnoBack-CoverTexts.YoucanobtainacopyoftheGNUFreeDocumentationLicensefromwww.gnu.orgorbywritingtotheFreeSoftwareFoundation,Inc.,59TemplePlace-Suite330,Boston,MA02111-1307,USA.TheoriginalformofthisbookisLaTeXsourcecode.CompilingthisLaTeXsourcehasthee
3、ffectofgeneratingadevice-independentrepresentationofabook,whichcanbeconvertedtootherformatsandprinted.Thisbookwastypesetbytheauthorusinglatex,dvipsandps2pdf,amongotherfree,open-sourceprograms.TheLaTeXsourceforthisbookisavailablefromhttp://greenteapress.com/matlab.RMATLABisaregisteredtrademar
4、kofTheMathworks,Inc.TheMathworksdoesnotwarranttheaccuracyofthisbook;theyprobablydon’tevenlikeit.PrefaceMostbooksthatuseMATLABareaimedatreaderswhoknowhowtoprogram.Thisbookisforpeoplewhohaveneverprogrammedbefore.Asaresult,theorderofpresentationisunusual.Thebookstartswithscalarvaluesandworksup
5、tovectorsandmatricesverygradually.Thisapproachisgoodforbeginningprogrammers,becauseitishardtounderstandcompos-iteobjectsuntilyouunderstandbasicprogrammingsemantics.Butthereareproblems:•TheMATLABdocumentationiswrittenintermsofmatrices,andsoaretheerrormessages.Tomitigatethisproblem,thebookexp
6、lainstheneces-saryvocabularyearlyanddecipherssomeofthemessagesthatbeginnersfindconfusing.•ManyoftheexamplesinthefirsthalfofthebookarenotidiomaticMAT-LAB.Iaddressthisprobleminthesecondhalfbytranslatingtheexamplesintoamorestandardstyle.Thebookputsalotofemphasisonfunctions,inpartbecausetheyarean
7、importantmechanismforcontrollingprogramcomplexity,andalsobecausetheyareusefulforworkingwithMATLABtoolslikefzeroandode45.Iassumethatreadersknowcalculus,differentialequations,andphysics,butnotlinearalgebra.IexplainthemathasIgoalong,butthedescriptionsmightno