Basic Matlab guide by professor

Basic Matlab guide by professor - MATLAB The Language of...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
M ATLAB The Language of Technical Computing Computation Visualization Programming Getting Started with MATLAB Version 5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. Mail 24 Prime Park Way Natick, MA 01760-1500 http://www.mathworks.com Web ftp.mathworks.com Anonymous FTP server comp.soft-sys.matlab Newsgroup support@mathworks.com Technical support suggest@mathworks.com Product enhancement suggestions bugs@mathworks.com Bug reports doc@mathworks.com Documentation error reports subscribe@mathworks.com Subscribing user registration service@mathworks.com Order status, license renewals, passcodes info@mathworks.com Sales, pricing, and general information Getting Started with MATLAB COPYRIGHT 1984 - 1998 by The MathWorks, Inc. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or repro- duced in any form without prior written consent from The MathWorks, Inc . U.S. GOVERNMENT: If Licensee is acquiring the Programs on behalf of any unit or agency of the U.S. Government, the following shall apply: (a) For units of the Department of Defense: the Government shall have only the rights specified in the license under which the commercial computer software or commercial software documentation was obtained, as set forth in subparagraph (a) of the Rights in Commercial Computer Software or Commercial Software Documentation Clause at DFARS 227.7202-3, therefore the rights set forth herein shall apply; and (b) For any other unit or agency: NOTICE: Notwithstanding any other lease or license agreement that may pertain to, or accompany the delivery of, the computer software and accompanying documentation, the rights of the Government regarding its use, reproduction, and disclo- sure are as set forth in Clause 52.227-19 (c)(2) of the FAR. MATLAB, Simulink, Stateflow, Handle Graphics, and Real-Time Workshop are registered trademarks, and Target 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 1996 First printing (for MATLAB 5) May1997 Secondprinting(forMATLAB5 .1) September 1998 Third printing (for MATLAB 5.3)
Background image of page 2
i Contents Getting Started Starting MATLAB ....................................... 2 Matrices and Magic Squares ............................. 3 EnteringMatrices . ..................................... 4 sum,transpose ,anddiag . ............................... 5 Subscripts . ........................................... 7 TheColonOperator. .................................... 8 ThemagicFunction. 9 Expressions 11 Variables . 11 Numbers. ............................................ 11 Operators . 12 Functions . 12 Expressions . ......................................... 14 Working with Matrices ................................. 15 GeneratingMatrices . .................................. 15 load. ................................................ 16 M-Files . ............................................. 16 Concatenation . 17 Deleting Rows and Columns . . . . . . ....................... 17 The Command Window 19 TheformatCommand . 19 SuppressingOutput . 21 LongCommandLines . 21 CommandLineEditing. ................................ 21 Graphics .............................................. 23 CreatingaPlot.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/15/2011 for the course ECE 8833 taught by Professor Staff during the Spring '08 term at Georgia Institute of Technology.

Page1 / 99

Basic Matlab guide by professor - MATLAB The Language of...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online