资 源 简 介
MATLAB 最新版本R2014a 官方使用手册Revision HistoryDecember 1996 First printingFor matlab 5May 1997Second printingFor MaTLab 5.1September 1998 Third printingFor MatLab 5.3September 2000 Fourth printingRevised for MatLAB 6(Release 12)June 2001Online onlyRevised for MATLAB 6.1Release 12.1)July 2002Online onlyRevised for MatlAB 6.5 ( Release 13)August 2002 Fifth printingRevised for matlab 6.5June 2004Sixth printingRevised for MaTLAB 7.0(Release 14)October 2004Online onlyRevised for MATLAB 7.0.1(Release 14SP1)March 2005Online onlyRevised for MATLAB 7.0. 4(Release 14SP2)June 2005Seventh printingMinor revision for MATLAB 7.0.4(Release 14SP2)September 2005 Online onlyMinor revision for MaTLAB 7.1 Release 14SP3)March 2006Online onlyMinor revision for MATLAB 7.2 ( Release 2006a)September 2006 Eighth printingMinor revision for matlab 7.3 (Release 2006bMarch 2007Ninth pprintingMinor revision for MATLAB 7. 4 ( Release 2007a)September 2007 Tenth printingMinor revision for MaTLAB 7.5 ( Release 2007b)March 2008Eleventh printingMinor revision for MatLAB 7.6 ( Release 2008a)October 2008 Twelfth printingMinor revision for MATLAB 7.7 Release 2008b)March 2009Thirteenth printingMinor revision for MATLAB 7.8 Release 2009aSeptember 2009 Fourteenth printing Minor revision for MaTLAB 7.9 (Release 2009b)March 2010 Fifteenth printing Minor revision for MATLAB 7. 10(Release 2010a)September 2010 Sixteenth printing Revised for MATLAB 7. 11(R2010bApril 2011Online onlyRevised for MatlAB 7. 12(R201laSeptember 2011 Seventeenth printing Revised for MATLAB 7. 13(R2011bMarch 2012Eighteenth printingRevised for Version 7. 14(R2012a)(Renamed fromMATLAB Getting Started GuideSeptember 2012 Nineteenth printing Revised for Version 8.0(R2012b)March 2013Twentieth printing Revised for Version 8.1(R2013a)September 2013 Twenty-first printing Revised for Version 8.2(R2013b)March 2014Twenty-second printing Revised for Version 8.3(R2014a)ContentsQuick StartMATLAB Product Description ..........Key FeaturesDesktop Basics1-3Matrices and arrays1-6Array Creation1-6Matrix and Array operationsConcatenation1-9Complex numbers1-10Array Indexing1-11Workspace Variables,,,,1-13Character StringsCalling Functions1-172-D and 3-D Plots1-18Line plots3-D Plo1-231-24Programming and Scripts ............. 1-26le scriptLoops and conditional statements1-27Script Locations1-29Help and documentation1-30Language fundamentalsMatrices and Magic Squares2-2About matrices2-2Entering Matrices ....2-4sum, transpose, and diag5The magic Function2-7Generating matrices2-8Expressions,2-10Variables2-10Numbers2-11Matrix Operators2-12Array Operators2Functions,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2-14Examples of Expressions .....,2-16Entering Commands .....2-17The format function2-17Suppressing output2-18Entering Long Statements,2-19Command lineEditing2-19Indexing2-20Subscripts2-20The Colon Operator.............2-21Concatenation2-22Deleting rows and columns2-23lar expansIo24Logical subscripting2-25The find function2-26Types of Arrays2-27Multidimensional arrays2_27CArell Arrays2-29Characters and text2-31Structures2-34ContentMathematicsLinear AlgebraMatrices in the matLab Environment∵…3-23-2Systems of Linear Equations3-11Inverses and determinants3-23Factorizations3-27Powers and exponentials3-35Eigenvalues3-39Singular values3-43Operations on nonlinear functions3-46Fn handle3-46Function functions.,,,,3-46Multivariate data3-49Data Analysis3-50Introduction3-50Preprocessing Data3-50Summarizing data3-58Visualizing data3-63Modeling data3-77raphIcs4Basic Plotting Functions ......4-2Creating a Plot4-2Plotting Multiple data Sets in One graph4-3Specifying line styles and ColorsPlotting lines and markers4-7Graphing Imaginary and complex data ........ 4-8Adding plots to an Existing Graph4-9Figure Windows4-11Displaying multiple Plots in One figure4-11Controlling the Axes4-12Adding Axis Labels and Titles4-14Saving Figures4-15Creating Mesh and Surface Plots4-17About mesh and surface plots ......,.,.... 4-17Visualizing Functions of Two variables,,,,,,,,4-17Plotting Image data4-24About plotting Image data4-24Reading and writing Images4-25Printing graphics4-26Overview of Printing4-26Printing from the File menu4-26Exporting the Figure to a graphics File4-27Using the Print command4-27Working with Handle graphics Objects4-29Graphics Objects4-29Setting object Properties4-31Functions for Working with Objects,,,,,,,,4-34Specifying Axes or Figures .........4-35Finding the handles of Existing Objects4-37ProgrammingControl floyConditional control-if, else. switch5-2Loop Control--for, while, continue, break5-5Program Termination- return5Vectorization5Preallocation5-8Scripts and functions5-10Oⅴ erview5-10crypts5-11Functions5-12ContentsTypes of functions5-14GlobalⅤ ariables...5-16Command vs. Function Syntax5-16dndexIXx Contents