資源描述:
《physical modeling in matlab》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、PhysicalModelinginMATLABRAllenB.DowneyVersion1.1.22RPhysicalModelinginMATLABCopyright2007,2008,2009AllenB.DowneyPermissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version1.1oranylaterversionpublishedbytheFreeSoftwareFoundation;thi
2、sbookcontainsnoInvariantSections,noFront-CoverTexts,andnoBack-CoverTexts.YoucanobtainacopyoftheGNUFreeDocumentationLicensefromwww.gnu.orgorbywritingtotheFreeSoftwareFoundation,Inc.,59TemplePlace-Suite330,Boston,MA02111-1307,USA.TheoriginalformofthisbookisLaTeXsourcecode.CompilingthisL
3、aTeXsourcehasthee?ectofgeneratingadevice-independentrepresentationofabook,whichcanbeconvertedtootherformatsandprinted.Thisbookwastypesetbytheauthorusinglatex,dvipsandps2pdf,amongotherfree,open-sourceprograms.TheLaTeXsourceforthisbookisavailablefromhttp://greenteapress.com/matlab.RMATL
4、ABisaregisteredtrademarkofTheMathworks,Inc.TheMathworksdoesnotwarranttheaccuracyofthisbook;theyprobablydon’tevenlikeit.PrefaceMostbooksthatuseMATLABareaimedatreaderswhoknowhowtoprogram.Thisbookisforpeoplewhohaveneverprogrammedbefore.Asaresult,theorderofpresentationisunusual.Thebooksta
5、rtswithscalarvaluesandworksuptovectorsandmatricesverygradually.Thisapproachisgoodforbeginningprogrammers,becauseitishardtounderstandcompos-iteobjectsuntilyouunderstandbasicprogrammingsemantics.Butthereareproblems:?TheMATLABdocumentationiswrittenintermsofmatrices,andsoaretheerrormessag
6、es.Tomitigatethisproblem,thebookexplainstheneces-saryvocabularyearlyanddecipherssomeofthemessagesthatbeginners?ndconfusing.?Manyoftheexamplesinthe?rsthalfofthebookarenotidiomaticMAT-LAB.Iaddressthisprobleminthesecondhalfbytranslatingtheexamplesintoamorestandardstyle.Thebookputsalotofe
7、mphasisonfunctions,inpartbecausetheyareanimportantmechanismforcontrollingprogramcomplexity,andalsobecausetheyareusefulforworkingwithMATLABtoolslikefzeroandode45.Iassumethatreadersknowcalculus,di?erentialequations,andphysics,butnotlinearalgebra.IexplainthemathasIgoalong,butthedescripti
8、onsmi