ITMatlab - Information Technology Rice University Document...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: Information Technology Rice University Document UNIX 17 July 11, 2002 Introduction to Matlab Basic Matlab Commands and Syntax This document teaches the user how to create Matlab matrices, learn about Matlab plots and printing, and discover how to use mathematical equations in Matlab, and to acquire rudimentary Matlab skills. Rice University, 2002 All Rights Reserved Document may not be resold to, used by, nor licensed to third parties without written permission from User Services, Rice University. 2 Table of Contents What is Pro-Matlab? ................................................................................................ 3 Entering and Leaving Matlab................................................................................... 3 Variables and the Workspace.................................................................................... 3 Defining Numbers and Characters.................................................................... 3 Examining Numbers and Characters ................................................................ 4 Workspace Commands ..................................................................................... 4 Mathematical Functions........................................................................................... 4 Basic Math ........................................................................................................ 4 A Little Higher Math ........................................................................................ 5 Polynomials....................................................................................................... 5 Linear Equation Solving ................................................................................... 5 Graphing................................................................................................................... 5 Creating the Graph............................................................................................ 5 Printing the Graph............................................................................................. 6 M-files ...................................................................................................................... 6 Scripts and Functions........................................................................................ 6 Control Flow..................................................................................................... 7 For Loops................................................................................................... 7 While.......................................................................................................... 7 If Then ....................................................................................................... 7 Function Functions................................................................................................... 7 Numerical Integration....................................................................................... 7Numerical Integration....
View Full Document

Page1 / 8

ITMatlab - Information Technology Rice University Document...

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

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