Matlab - Getting start
Описание файла
PDF-файл из архива "Matlab - Getting start", который расположен в категории "". Всё это находится в предмете "цифровая обработка сигналов (цос)" из 8 семестр, которые можно найти в файловом архиве МГТУ им. Н.Э.Баумана. Не смотря на прямую связь этого архива с МГТУ им. Н.Э.Баумана, его также можно найти и в других разделах. Архив можно найти в разделе "книги и методические указания", в предмете "цифровая обработка сигналов" в общих файлах.
Просмотр PDF-файла онлайн
Текст из PDF
MATLAB®The Language of Technical ComputingComputationVisualizationProgrammingGetting Started with MATLABVersion 6How to Contact The MathWorks:www.mathworks.comcomp.soft-sys.matlabWebNewsgroupinfo@mathworks.comTechnical supportProduct enhancement suggestionsBug reportsDocumentation error reportsOrder status, license renewals, passcodesSales, pricing, and general information508-647-7000Phone508-647-7001FaxThe MathWorks, Inc.3 Apple Hill DriveNatick, MA 01760-2098Mailsupport@mathworks.comsuggest@mathworks.combugs@mathworks.comdoc@mathworks.comservice@mathworks.comFor contact information about worldwide offices, see the MathWorks Web site.Getting Started with MATLAB COPYRIGHT 1984 - 2001 by The MathWorks, Inc.The software described in this document is furnished under a license agreement.
The software may be usedor copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, Inc.FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation byor for the federal government of the United States. By accepting delivery of the Program, the governmenthereby agrees that this software qualifies as "commercial" computer software within the meaning of FARPart 12.212, DFARS Part 227.7202-1, DFARS Part 227.7202-3, DFARS Part 252.227-7013, and DFARS Part252.227-7014.
The terms and conditions of The MathWorks, Inc. Software License Agreement shall pertainto the government’s use and disclosure of the Program and Documentation, and shall supersede anyconflicting contractual terms or conditions. If this license fails to meet the government’s minimum needs oris inconsistent in any respect with federal procurement law, the government agrees to return the Programand Documentation, unused, to MathWorks.MATLAB, Simulink, Stateflow, Handle Graphics, and Real-Time Workshop are registered trademarks, andTarget Language Compiler is a trademark of The MathWorks, Inc.Other product or brand names are trademarks or registered trademarks of their respective holders.Printing History: December 1996May 1997September 1998September 2000June 2001First printingSecond printingThird printingFourth printingOnline onlyFor MATLAB 5For MATLAB 5.1For MATLAB 5.3Revised for MATLAB 6, Release 12Minor update for MATLAB 6.1,Release 12.1ContentsIntroduction1What Is MATLAB? .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2The MATLAB System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3MATLAB Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4MATLAB Online Help . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4Development Environment2Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Starting and Quitting MATLAB . . . . . . . . . . . . . . . . . . . .
. . . . 2-3Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3MATLAB Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4Desktop Tools . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . 2-6Command Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6Launch Pad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8Help Browser . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8Current Directory Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11Workspace Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12Editor/Debugger . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Other Development Environment Features . . . . . . . . . . . . 2-15iManipulating Matrices3iiContentsMatrices and Magic Squares . . . . . . . . . . . . . . . . . . . . . . . . . . .Entering Matrices . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .sum, transpose, and diag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Subscripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .The Colon Operator . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .The magic Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-23-33-43-63-73-8Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Functions . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Examples of Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-103-103-103-113-113-13Working with Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Generating Matrices . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .The load Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .M-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . .Deleting Rows and Columns . . . . . . . . . . . . . . . . . . . . . . . . . . .3-143-143-153-153-163-17More About Matrices and Arrays . . . . . . . . . . . . . . . . . . . . . .Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Multivariate Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Scalar Expansion . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .Logical Subscripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .The find Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-183-183-213-243-253-263-27Controlling Command Window Input and Output . . . . . . .The format Command .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Suppressing Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Entering Long Command Lines . . . . . . . . . . . . . . . . . . . . . . . .Command Line Editing . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .3-283-283-303-303-30Graphics4Basic Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2Creating a Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2Multiple Data Sets in One Graph . . . . . . .
. . . . . . . . . . . . . . . . . 4-3Specifying Line Styles and Colors . . . . . . . . . . . . . . . . . . . . . . . . 4-4Plotting Lines and Markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5Imaginary and Complex Data . . . . . . . .
. . . . . . . . . . . . . . . . . . . 4-6Adding Plots to an Existing Graph . . . . . . . . . . . . . . . . . . . . . . . 4-7Figure Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8Multiple Plots in One Figure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9Controlling the Axes . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 4-10Axis Labels and Titles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12Saving a Figure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13Editing Plots . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .Interactive Plot Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Using Functions to Edit Graphs . . . . . . . . . . . . . . . . . . . . . . . .Using Plot Editing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Using the Property Editor . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .4-144-144-144-154-16Mesh and Surface Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18Visualizing Functions of Two Variables . . . . . . . . . . . . . . . . . . 4-18Images . . . . . . . . . . . . . . . . . . . . .