Matrices. Matrices on the TI Creating, Storing, and Displaying Matrices Using Mathematical Functions with Matrices...

Size: px
Start display at page:

Download "Matrices. Matrices on the TI Creating, Storing, and Displaying Matrices Using Mathematical Functions with Matrices..."

Transcription

1 13 Matrices Matrices on the TI Creating, Storing, and Displaying Matrices Using Mathematical Functions with Matrices TI -86 M1 M2 M3 M4 M5 F1 F2 F3 F4 F5

2 178 Chapter 13: Matrices Matrices on the TI-86 A matrix is a two-dimensional array, arranged in rows and columns. The matrix elements can be real or complex. You can create, display, and edit matrices on the home screen or in the matrix editor. When you create a matrix, the elements are stored to the matrix name. Creating, Storing, and Displaying Matrices The MATRX (Matrix) Menu - NAMES EDIT MATH OPS CPLX matrix names matrix math complex matrix menu menu menu matrix matrix operations editor menu The TI-86 distinguishes between uppercase and lowercase letters in matrix names. For example, MAT1 and mat1 are two different vector names. The MATRX NAMES Menu - & The MATRX NAMES menu contains all currently stored matrix names in alphanumeric order. To paste a matrix name to the current cursor location, select it from the menu. Creating a Matrix in the Matrix Editor - ' Display the matrix Name= prompt screen. ALPHA-lock is on. The MATRX NAMES menu is displayed. Enter a name from one to eight characters long, starting with a letter. - ' ãmä ãaä ãtä 1 1

3 Chapter 13: Matrices 179 An ellipsis ( ) at either end of matrix rows indicates additional columns. $ or # in the last column indicates additional rows. Display the matrix editor and the matrix editor menu. Accept or change the matrix dimensions (row column) in the top-right corner of the screen, (1 row 255 and 1 column 255); maximum combination is subject to memory availability. The matrix is displayed; all elements are 0. Enter each matrix element value at the element prompt (1,1= for row 1, column 1). You can enter expressions. To move to the next element, press b. To move to the next row, press #. b 10 b 4 b a 4 b 5 b 9 b 6 b 1 b a 3 b 7 b and so on The Matrix Editor Menu - ' matrixname b INSr DELr INSc DELc 4REAL INSr DELr INSc DELc 4REAL Inserts a row at the cursor location; shifts subsequent rows down Deletes row at the cursor location; shifts subsequent rows up Inserts a column at the cursor location; shifts subsequent columns to the right Deletes the column at the cursor location; shifts subsequent columns to the left Converts the displayed complex number matrix to a real number matrix

4 180 Chapter 13: Matrices The close bracket is not necessary when it precedes X. To delete a matrix name from memory, use the MEM DELETE:MATRX screen (Chapter 17). Creating a Matrix on the Home Screen Define the start of the matrix with ã, and then define the start of the first row with another ã. Enter each element for the row, separating them with commas. Define the end of the first row with ä. Define the start of each subsequent row with ã. Enter the row elements, separating each from the next with a comma. Define the end of each row with ä. Then define the end of the matrix with ä. Store the matrix to a matrix name. Either enter a name from one to eight characters long, starting with a letter, or select a name from the MATRX NAMES menu. The matrix is displayed. If newly created, the matrix name becomes a MATRX NAMES menu item P 4 P 6 P a 1 P a 3 P a 5 P a X - n ãmä ãaä ãtä b Creating a Complex Matrix If any matrix element is complex, all elements of the matrix are displayed as complex. For example, when you enter the matrix [[1,2][5,(3,1)]], the TI-86 displays [[(1,0) (2,0)][(5,0) (3,1)]]. To create a complex matrix from two real matrices with the same dimensions, the syntax is: realmatrix+(0,1)imaginarymatrix complexmatrixname realmatrix contains the real part of each element and imaginarymatrix contains the imaginary part of each element.

5 Chapter 13: Matrices 181 To view elements beyond the current screen, use ", #,!, and $. Displaying Matrix Elements, Rows, and Submatrices To display an existing matrix on the home screen, enter the matrix name s individual characters or select it from the MATRX NAMES menu, and then press b. The full value of each element is displayed. Elements with very large values may be expressed exponentially. To display specific elements of matrixname, the syntax is: matrixname(row,column) To display a row of matrixname, the syntax is: matrixname(row) To display a submatrix of matrixname, the syntax is: matrixname(beginrow,begincolumn,endrow,endcolumn) When you execute the expression, the answer is displayed as a matrix. Using a Matrix in an Expression You can enter the matrix directly (for example, 5¹[[2,3][3,5]]). You can use 1 and - n to enter a matrix name s individual characters (for example, MAT1¹3). You can select the matrix name from the MATRX NAMES menu (- &). You can select the matrix name from the VARS MATRX screen (- w / ').

6 182 Chapter 13: Matrices You can use :, 3, and - p to edit matrix elements. You also can overwrite existing characters. Editing Matrices in the Matrix Editor Display the matrix Name= prompt screen. Enter the matrix name. Either select it from the MATRX NAMES menu or enter the characters. Display the matrix editor. Edit or accept the row dimension, and then edit or accept the column dimension. Move the cursor to any element and edit it. Continue moving the cursor to other elements. Save the changes and leave the matrix editor. - ' ãmäãaäãtä 1 1 b 5 3 b 3 b # 45 b " 21 b 2 - ~ b. Editing Matrices on the Home Screen To change a matrix element value, the syntax is: value matrixname(row,column) To change the values of an entire row of elements, the syntax is: [valuea,valueb,...,value n] matrixname(row) To change the values of part of a row, beginning at a specified column, the syntax is: [valuea,valueb,...,value n] matrixname(row,begincolumn) To change the values of a submatrix within matrixname, the syntax is: [[valuea,...,value n]... [valuea,...,value n]] matrixname(beginrow,begincolumn)

7 Chapter 13: Matrices 183 The MATRX MATH Menu - ( NAMES EDIT MATH OPS CPLX det T norm eigvl eigvc 4 rnorm cnorm LU cond det squarematrix matrix T Returns the determinant of squarematrix Returns a transposed matrix; each element s (row,column) coordinates switch norm matrix Returns the Frobenius norm ( G(real 2 +imaginary 2 )) where the sum is over all elements of a real or complex matrix eigvl squarematrix eigvc squarematrix rnorm matrix cnorm Matrix LU(matrix, lmatrixname, umatrixname, pmatrixname) cond squarematrix Returns a list of the normalized eigenvalues of a real or complex squarematrix Returns a matrix containing the eigenvectors for a real or complex squarematrix; each column corresponds to an eigenvalue (row norm) Returns the largest of the sums of the absolute values of the elements (magnitudes of complex elements) in each row of matrix (column norm) Returns the largest of the sums of the absolute values of the elements (magnitudes of complex elements) in each column of matrix Calculates the Crout LU (lower-upper) decomposition of a real or complex matrix; stores the lower triangular matrix to lmatrixname, the upper triangular matrix to umatrixname, and the permutation matrix (which describes the row swaps done during calculation) in pmatrixname Calculates cnorm squarematrix¹cnorm squarematrix M1 ; the closer the product is to 1, the more stable squarematrix can be expected to be in matrix functions

8 184 Chapter 13: Matrices The MATRX OPS (Operations) Menu - ) NAMES EDIT MATH OPS CPLX dim Fill ident ref rref 4 aug rswap radd multr mradd 4 randm Press X to enter the symbol after the close brace. When you use aug(, the number of rows in matrixa must equal the number of rows in matrixb or the number of elements in vector. Elements of matrices created with randm( are integers L9 and 9. dim matrix Returns the dimensions of matrix as a list {rows columns} {rows,columns} dim matrixname Creates a new matrixname of the specified dimensions; each element is 0 {rows,columns} dim matrixname Redimensions matrixname to the specified dimensions Fill(number,matrixName) ident dimension ref matrix rref matrix aug(matrixa,matrixb) aug(matrix,vector) rswap(matrix,rowa,rowb) radd(matrix,rowa,rowb) multr(number,matrix,row) Stores a real or complex number to each matrixname element Returns the square identity matrix of dimension dimension Returns the row-echelon form of matrix Returns the reduced row-echelon form of matrix Concatenates matrixa and matrixb Concatenates matrix and vector Returns a matrix after swapping rowa and rowb of matrix Returns matrix with (rowa+rowb) of matrix stored in rowb Returns matrix with (row¹number) stored in row mradd(number,matrix,rowa,rowb) Returns matrix with ((rowa¹number)+rowb) stored in rowb randm(rows,columns) Creates a matrix of specified dimensions with random elements

9 Chapter 13: Matrices 185 The MATRX CPLX (Complex ) Menu - * NAMES EDIT MATH OPS CPLX conj real imag abs angle To add or subtract two matrices, the dimensions of matrixa must equal the dimensions of matrixb. conj complexmatrix real complexmatrix imag complexmatrix abs matrix angle complexmatrix Returns a matrix in which each element is the complex conjugate of the corresponding element of a complexmatrix Returns a real matrix in which each element is the real portion of the corresponding element of a complexmatrix Returns a real matrix in which each element is the imaginary portion of the corresponding element of a complexmatrix Returns a real matrix in which each element is either the absolute value of the corresponding element of a real matrix or the magnitude (modulus) of the corresponding element of a complex matrix Returns a real matrix in which each element is either 0 if the element of complexmatrix is real or the polar angle if the element of complexmatrix is complex; the polar angles are calculated as tan L1 (imaginary / real) adjusted by +p in the second quadrant and by Lp in the third quadrant Using Mathematical Functions with Matrices matrixa+matrixb matrixanmatrixb Adds each matrixa element to the corresponding matrixb element; returns a matrix of the sums Subtracts each matrixb element from the corresponding matrixa element; returns a matrix of the differences

10 186 Chapter 13: Matrices To multiply two matrices, the column dimension of matrixa must equal the row dimension of matrixb. To enter M1, press - ƒ. Do not use a 1. e^, sin, and cos do not return the exponential, sine, or cosine of each matrix element. To make relational comparisons, matrixa and matrixb must have equal dimensions. == and ƒ are on the TEST menu. round, ipart, fpart, and int are on the MATH NUM menu. matrixa¹matrixb or matrixb¹matrixa matrix¹number or number¹matrix matrix¹vector Mmatrix squarematrix M 1 matrix 2 squarematrix^power e^ squarematrix sin squarematrix cos squarematrix matrixa==matrixb matrixaƒmatrixb Multiplies matrixa and matrixb; returns a square matrix of the products Returns a matrix that is the product of a real or complex number times each element in a real or complex matrix Returns a vector that is the product of each vector element times each matrix element; the matrix column dimension and vector dimension must be equal (negation) Changes the sign of each element in matrix Returns the inverse of squarematrix (not the inverse of each element) Squares a square matrix Raises a squarematrix to the designated power Returns the square matrix exponential of a real squarematrix Returns the square matrix sine of a real squarematrix Returns the square matrix cosine of a real squarematrix Returns 1 if every corresponding element comparison is true; returns 0 if any is false Returns 1 if at least one corresponding element comparison is false round(matrix[,#ofdecimals]) Rounds each matrix element to 12 digits or to specified #of Decimals ipart matrix fpart matrix int matrix Returns the integer part of each element of a real or complex matrix Returns the fractional part of each element of a real or complex matrix Returns the greatest integer of each element of a real or complex matrix

Matrices for the TI-73

Matrices for the TI-73 TI Matrices for the TI-73 Getting Started Start here How To Find Installation Instructions Move Between Matrix Application Screens View and Edit a Matrix Use Matrices with Expressions Display and Copy

More information

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200 Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200 Often, a matrix may be too large or too complex to manipulate by hand. For these types of matrices, we can employ the help of graphing calculators

More information

Chapter 2 Systems of Linear Equations and Matrices

Chapter 2 Systems of Linear Equations and Matrices Chapter 2 Systems of Linear Equations and Matrices LOCATION IN THE OTHER TEXTS: Finite Mathematics and Calculus with Applications: Chapter 2 Solution of Linear Systems by the Gauss-Jordan Method. Row Operations.

More information

Online Technology Guide for Elementary Linear Algebra, 6e Larson/Falvo

Online Technology Guide for Elementary Linear Algebra, 6e Larson/Falvo Online Technology Guide for Elementary Linear Algebra, e Larson/Falvo Computer Software Programs and Graphing Utilities Introduction to MATLAB............................................... Introduction

More information

Performing Matrix Operations on the TI-83/84

Performing Matrix Operations on the TI-83/84 Page1 Performing Matrix Operations on the TI-83/84 While the layout of most TI-83/84 models are basically the same, of the things that can be different, one of those is the location of the Matrix key.

More information

Chapter 2: Math, Angle, and Test Operations

Chapter 2: Math, Angle, and Test Operations Chapter 2: Math, Angle, and Test Operations Getting Started: Coin Flip Getting Started is a fast-paced introduction. Read the chapter for details. Suppose you want to model flipping a fair coin 10 times.

More information

Chapter 2: Math, Angle, and Test Operations

Chapter 2: Math, Angle, and Test Operations Chapter 2: Math, Angle, and Test Operations Getting Started: Coin Flip Getting Started is a fast-paced introduction. Read the chapter for details. Suppose you want to model flipping a fair coin 10 times.

More information

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

Solving Systems of Equations Using Matrices With the TI-83 or TI-84 Solving Systems of Equations Using Matrices With the TI-83 or TI-84 Dimensions of a matrix: The dimensions of a matrix are the number of rows by the number of columns in the matrix. rows x columns *rows

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 3 Creating, Organising & Processing Data Dr Richard Greenaway 3 Creating, Organising & Processing Data In this Workshop the matrix type is introduced

More information

MATLAB Lecture 1. Introduction to MATLAB

MATLAB Lecture 1. Introduction to MATLAB MATLAB Lecture 1. Introduction to MATLAB 1.1 The MATLAB environment MATLAB is a software program that allows you to compute interactively with matrices. If you want to know for instance the product of

More information

MATH 3511 Basics of MATLAB

MATH 3511 Basics of MATLAB MATH 3511 Basics of MATLAB Dmitriy Leykekhman Spring 2012 Topics Sources. Entering Matrices. Basic Operations with Matrices. Build in Matrices. Build in Scalar and Matrix Functions. if, while, for m-files

More information

Graphics calculator instructions

Graphics calculator instructions Graphics calculator instructions Contents: A B C D E F G Basic calculations Basic functions Secondary function and alpha keys Memory Lists Statistical graphs Working with functions 10 GRAPHICS CALCULATOR

More information

The CATALOG, Variables, and Characters

The CATALOG, Variables, and Characters 2 The CATALOG, Variables, and Characters The CATALOG... 38 Storing Data to Variables... 39 Classifying Variables as Data Types... 42 The CUSTOM Menu... 44 The CHAR (Character) Menu... 45 TI -86 M1 M2 M3

More information

MATH 5520 Basics of MATLAB

MATH 5520 Basics of MATLAB MATH 5520 Basics of MATLAB Dmitriy Leykekhman Spring 2011 Topics Sources. Entering Matrices. Basic Operations with Matrices. Build in Matrices. Build in Scalar and Matrix Functions. if, while, for m-files

More information

Part #1. A0B17MTB Matlab. Miloslav Čapek Filip Kozák, Viktor Adler, Pavel Valtr

Part #1. A0B17MTB Matlab. Miloslav Čapek Filip Kozák, Viktor Adler, Pavel Valtr A0B17MTB Matlab Part #1 Miloslav Čapek miloslav.capek@fel.cvut.cz Filip Kozák, Viktor Adler, Pavel Valtr Department of Electromagnetic Field B2-626, Prague You will learn Scalars, vectors, matrices (class

More information

Arithmetic and Logic Blocks

Arithmetic and Logic Blocks Arithmetic and Logic Blocks The Addition Block The block performs addition and subtractions on its inputs. This block can add or subtract scalar, vector, or matrix inputs. We can specify the operation

More information

Graphics calculator instructions

Graphics calculator instructions Graphics calculator instructions Contents: A B C D E F G Basic calculations Basic functions Secondary function and alpha keys Memory Lists Statistical graphs Working with functions 10 GRAPHICS CALCULATOR

More information

OVERVIEW DISPLAYING NUMBERS IN SCIENTIFIC NOTATION ENTERING NUMBERS IN SCIENTIFIC NOTATION

OVERVIEW DISPLAYING NUMBERS IN SCIENTIFIC NOTATION ENTERING NUMBERS IN SCIENTIFIC NOTATION OVERVIEW The intent of this material is to provide instruction for the TI-86 graphing calculator that may be used in conjunction with the second edition of Gary Rockswold's College Algebra Through Modeling

More information

Lab of COMP 406. MATLAB: Quick Start. Lab tutor : Gene Yu Zhao Mailbox: or Lab 1: 11th Sep, 2013

Lab of COMP 406. MATLAB: Quick Start. Lab tutor : Gene Yu Zhao Mailbox: or Lab 1: 11th Sep, 2013 Lab of COMP 406 MATLAB: Quick Start Lab tutor : Gene Yu Zhao Mailbox: csyuzhao@comp.polyu.edu.hk or genexinvivian@gmail.com Lab 1: 11th Sep, 2013 1 Where is Matlab? Find the Matlab under the folder 1.

More information

Introduction to Engineering gii

Introduction to Engineering gii 25.108 Introduction to Engineering gii Dr. Jay Weitzen Lecture Notes I: Introduction to Matlab from Gilat Book MATLAB - Lecture # 1 Starting with MATLAB / Chapter 1 Topics Covered: 1. Introduction. 2.

More information

Graphics calculator instructions

Graphics calculator instructions Graphics calculator instructions Contents: A Basic calculations B Basic functions C Secondary function and alpha keys D Memory E Lists F Statistical graphs G Working with functions H Two variable analysis

More information

Dr. Nahid Sanzida b e. uet .ac.

Dr. Nahid Sanzida b e. uet .ac. ChE 208 Lecture # 5_2 MATLAB Basics Dr. Nahid Sanzida nahidsanzida@che.buet.ac.bd h bd Most of the slides in this part contains practice problems. Students are strongly gyadvised to practise all the examples

More information

(Creating Arrays & Matrices) Applied Linear Algebra in Geoscience Using MATLAB

(Creating Arrays & Matrices) Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB (Creating Arrays & Matrices) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional

More information

Advanced features of the Calculate signal tool

Advanced features of the Calculate signal tool Advanced features of the Calculate signal tool Case study: how to us the advanced features of the Calculate signal tool? 1 The calculate signal tool The calculate signal tool is one of the most useful

More information

A Guide to Using Some Basic MATLAB Functions

A Guide to Using Some Basic MATLAB Functions A Guide to Using Some Basic MATLAB Functions UNC Charlotte Robert W. Cox This document provides a brief overview of some of the essential MATLAB functionality. More thorough descriptions are available

More information

Macro Programming Reference Guide. Copyright 2005 Scott Martinez

Macro Programming Reference Guide. Copyright 2005 Scott Martinez Macro Programming Reference Guide Copyright 2005 Scott Martinez Section 1. Section 2. Section 3. Section 4. Section 5. Section 6. Section 7. What is macro programming What are Variables What are Expressions

More information

Chapter 1 MATLAB Preliminaries

Chapter 1 MATLAB Preliminaries Chapter 1 MATLAB Preliminaries 1.1 INTRODUCTION MATLAB (Matrix Laboratory) is a high-level technical computing environment developed by The Mathworks, Inc. for mathematical, scientific, and engineering

More information

Constraint-based Metabolic Reconstructions & Analysis H. Scott Hinton. Matlab Tutorial. Lesson: Matlab Tutorial

Constraint-based Metabolic Reconstructions & Analysis H. Scott Hinton. Matlab Tutorial. Lesson: Matlab Tutorial 1 Matlab Tutorial 2 Lecture Learning Objectives Each student should be able to: Describe the Matlab desktop Explain the basic use of Matlab variables Explain the basic use of Matlab scripts Explain the

More information

Alternate Appendix A: Using the TI-92 Calculator

Alternate Appendix A: Using the TI-92 Calculator Alternate Appendix A: Using the TI-92 Calculator This document summarizes TI-92 calculation and programming operations as they relate to the text, Inside Your Calculator. Even those who do not read the

More information

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain Introduction to Matlab By: Dr. Maher O. EL-Ghossain Outline: q What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control

More information

Introduction to MATLAB

Introduction to MATLAB to MATLAB Spring 2019 to MATLAB Spring 2019 1 / 39 The Basics What is MATLAB? MATLAB Short for Matrix Laboratory matrix data structures are at the heart of programming in MATLAB We will consider arrays

More information

Activity Overview A basic introduction to the many features of the calculator function of the TI-Nspire

Activity Overview A basic introduction to the many features of the calculator function of the TI-Nspire TI-Nspire Activity: An Introduction to the TI-Nspire Calculator Function By: Leigh T Baker Activity Overview A basic introduction to the many features of the calculator function of the TI-Nspire Concepts

More information

How to Design Programs Languages

How to Design Programs Languages How to Design Programs Languages Version 4.1 August 12, 2008 The languages documented in this manual are provided by DrScheme to be used with the How to Design Programs book. 1 Contents 1 Beginning Student

More information

TI-89 Calculator Workshop #1 The Basics

TI-89 Calculator Workshop #1 The Basics page 1 TI-89 Calculator Workshop #1 The Basics After completing this workshop, students will be able to: 1. find, understand, and manipulate keys on the calculator keyboard 2. perform basic computations

More information

C+X. Complex Arithmetic Toolkit. Introduction

C+X. Complex Arithmetic Toolkit. Introduction C+X Introduction Complex Arithmetic Toolkit by Thomas E. Kurtz Co-inventor of BASIC This toolkit allows you to write True BASIC programs in the usual way except that certain numeric variables and arrays

More information

For example, the system. 22 may be represented by the augmented matrix

For example, the system. 22 may be represented by the augmented matrix Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural of matrix) may be

More information

Essentials for the TI-83+

Essentials for the TI-83+ Essentials for the TI-83+ Special Keys. O S O O Press and release, then press the appropriate key to access the 2nd (yellow) operation. Press and release to access characters and letters indicated above

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

More information

Physics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors.

Physics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors. Physics 326G Winter 2008 Class 2 In this class you will learn how to define and work with arrays or vectors. Matlab is designed to work with arrays. An array is a list of numbers (or other things) arranged

More information

Contents Systems of Linear Equations and Determinants

Contents Systems of Linear Equations and Determinants Contents 6. Systems of Linear Equations and Determinants 2 Example 6.9................................. 2 Example 6.10................................ 3 6.5 Determinants................................

More information

MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED. Christian Daude 1

MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED. Christian Daude 1 MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED Christian Daude 1 Introduction MATLAB is a software package designed to handle a broad range of mathematical needs one may encounter when doing scientific

More information

MATLAB: The Basics. Dmitry Adamskiy 9 November 2011

MATLAB: The Basics. Dmitry Adamskiy 9 November 2011 MATLAB: The Basics Dmitry Adamskiy adamskiy@cs.rhul.ac.uk 9 November 2011 1 Starting Up MATLAB Windows users: Start up MATLAB by double clicking on the MATLAB icon. Unix/Linux users: Start up by typing

More information

Subject: Computer Science

Subject: Computer Science Subject: Computer Science Topic: Data Types, Variables & Operators 1 Write a program to print HELLO WORLD on screen. 2 Write a program to display output using a single cout statement. 3 Write a program

More information

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial hp calculators hp 39g+ Using Matrices Using Matrices The purpose of this section of the tutorial is to cover the essentials of matrix manipulation, particularly in solving simultaneous equations. How are

More information

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB?

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB? Experiment 1: Introduction to MATLAB I Introduction MATLAB, which stands for Matrix Laboratory, is a very powerful program for performing numerical and symbolic calculations, and is widely used in science

More information

2.0 MATLAB Fundamentals

2.0 MATLAB Fundamentals 2.0 MATLAB Fundamentals 2.1 INTRODUCTION MATLAB is a computer program for computing scientific and engineering problems that can be expressed in mathematical form. The name MATLAB stands for MATrix LABoratory,

More information

Teaching Manual Math 2131

Teaching Manual Math 2131 Math 2131 Linear Algebra Labs with MATLAB Math 2131 Linear algebra with Matlab Teaching Manual Math 2131 Contents Week 1 3 1 MATLAB Course Introduction 5 1.1 The MATLAB user interface...........................

More information

Script started on Thu 25 Aug :00:40 PM CDT

Script started on Thu 25 Aug :00:40 PM CDT Script started on Thu 25 Aug 2016 02:00:40 PM CDT < M A T L A B (R) > Copyright 1984-2014 The MathWorks, Inc. R2014a (8.3.0.532) 64-bit (glnxa64) February 11, 2014 To get started, type one of these: helpwin,

More information

A GUIDE FOR USING MATLAB IN COMPUTER SCIENCE AND COMPUTER ENGINEERING TABLE OF CONTENTS

A GUIDE FOR USING MATLAB IN COMPUTER SCIENCE AND COMPUTER ENGINEERING TABLE OF CONTENTS A GUIDE FOR USING MATLAB IN COMPUTER SCIENCE AND COMPUTER ENGINEERING MARC THOMAS AND CHRISTOPHER PASCUA TABLE OF CONTENTS 1. Language Usage and Matlab Interface 1 2. Matlab Global Syntax and Semantic

More information

Introduction to Scientific and Engineering Computing, BIL108E. Karaman

Introduction to Scientific and Engineering Computing, BIL108E. Karaman USING MATLAB INTRODUCTION TO SCIENTIFIC & ENGINEERING COMPUTING BIL 108E, CRN24023 To start from Windows, Double click the Matlab icon. To start from UNIX, Dr. S. Gökhan type matlab at the shell prompt.

More information

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window. EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses

More information

MATLAB Constants, Variables & Expression. 9/12/2015 By: Nafees Ahmed

MATLAB Constants, Variables & Expression. 9/12/2015 By: Nafees Ahmed MATLAB Constants, Variables & Expression Introduction MATLAB can be used as a powerful programming language. It do have IF, WHILE, FOR lops similar to other programming languages. It has its own vocabulary

More information

CMAT Language - Language Reference Manual COMS 4115

CMAT Language - Language Reference Manual COMS 4115 CMAT Language - Language Reference Manual COMS 4115 Language Guru: Michael Berkowitz (meb2235) Project Manager: Frank Cabada (fc2452) System Architect: Marissa Ojeda (mgo2111) Tester: Daniel Rojas (dhr2119)

More information

0_PreCNotes17 18.notebook May 16, Chapter 12

0_PreCNotes17 18.notebook May 16, Chapter 12 Chapter 12 Notes BASIC MATRIX OPERATIONS Matrix (plural: Matrices) an n x m array of elements element a ij Example 1 a 21 = a 13 = Multiply Matrix by a Scalar Distribute scalar to all elements Addition

More information

Lecture 2: Variables, Vectors and Matrices in MATLAB

Lecture 2: Variables, Vectors and Matrices in MATLAB Lecture 2: Variables, Vectors and Matrices in MATLAB Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE201: Computer Applications. See Textbook Chapter 1 and Chapter 2. Variables

More information

12.1 Getting Started with the TI-86

12.1 Getting Started with the TI-86 CHAPTER 1 TEXAS INSTRUMENTS TI-86 1.1 Getting Started with the TI-86 1.1.1 Basics: Press the ON key to begin using your TI-86. If you need to adjust the display contrast, first press nd, then press and

More information

McTutorial: A MATLAB Tutorial

McTutorial: A MATLAB Tutorial McGill University School of Computer Science Sable Research Group McTutorial: A MATLAB Tutorial Lei Lopez Last updated: August 2014 w w w. s a b l e. m c g i l l. c a Contents 1 MATLAB BASICS 3 1.1 MATLAB

More information

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents:

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents: Calculator Instructions Casio fx-cg0 Contents: A B C D E F G Basic functions Memory Lists Solving simultaneous equations Statistics Probability Working with functions CASIO FX-CG0 A BASIC FUNCTIONS GROUPING

More information

Getting Started with the TI-84 Plus CE Graphing Calculator

Getting Started with the TI-84 Plus CE Graphing Calculator Getting Started with the TI-84 Plus CE Graphing Calculator This guidebook applies to software version 5.3. To obtain the latest version of the documentation, go to education.ti.com/go/download. Important

More information

Introduction to MATLAB Programming

Introduction to MATLAB Programming Introduction to MATLAB Programming Arun A. Balakrishnan Asst. Professor Dept. of AE&I, RSET Overview 1 Overview 2 Introduction 3 Getting Started 4 Basics of Programming Overview 1 Overview 2 Introduction

More information

Mastery. PRECALCULUS Student Learning Targets

Mastery. PRECALCULUS Student Learning Targets PRECALCULUS Student Learning Targets Big Idea: Sequences and Series 1. I can describe a sequence as a function where the domain is the set of natural numbers. Connections (Pictures, Vocabulary, Definitions,

More information

Introduction: Equipment: Getting Started Collecting the data:

Introduction: Equipment: Getting Started Collecting the data: Introduction: Collecting Ball Bounce data. Many aspects relating to the motion of a bouncing ball can be modelled mathematically. The first stage in modelling the motion is to collect some data. The Calculator

More information

Math 2250 MATLAB TUTORIAL Fall 2005

Math 2250 MATLAB TUTORIAL Fall 2005 Math 2250 MATLAB TUTORIAL Fall 2005 Math Computer Lab The Mathematics Computer Lab is located in the T. Benny Rushing Mathematics Center (located underneath the plaza connecting JWB and LCB) room 155C.

More information

The MatriCs. Reloaded. A linear algebra-specific language for the budding C enthusiast. Short name: MaC Extension:.neo

The MatriCs. Reloaded. A linear algebra-specific language for the budding C enthusiast. Short name: MaC Extension:.neo The MatriCs Reloaded A linear algebra-specific language for the budding C enthusiast Short name: MaC Extension:.neo Talal Asem Toukan [tat2132] - Manager Emmanuel Koumandakis [ek2808] - System Architect

More information

Computational Methods CMSC/AMSC/MAPL 460. Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Computational Methods CMSC/AMSC/MAPL 460. Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science Computational Methods CMSC/AMSC/MAPL 460 Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science Matrix norms Can be defined using corresponding vector norms Two norm One norm Infinity

More information

Computational Methods CMSC/AMSC/MAPL 460. Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Computational Methods CMSC/AMSC/MAPL 460. Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science Computational Methods CMSC/AMSC/MAPL 460 Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science Some special matrices Matlab code How many operations and memory

More information

Contents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB

Contents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in

More information

A very brief Matlab introduction

A very brief Matlab introduction A very brief Matlab introduction Siniša Krajnović January 24, 2006 This is a very brief introduction to Matlab and its purpose is only to introduce students of the CFD course into Matlab. After reading

More information

10 Using the PCFL Editor In this chapter

10 Using the PCFL Editor In this chapter 10 Using the PCFL Editor In this chapter Introduction to the PCFL editor 260 Editing PCFL registers 261 Customizing the PCFL configuration file 272 ProWORX NxT User s Guide Introduction to the PCFL editor

More information

(Type your answer in radians. Round to the nearest hundredth as needed.)

(Type your answer in radians. Round to the nearest hundredth as needed.) 1. Find the exact value of the following expression within the interval (Simplify your answer. Type an exact answer, using as needed. Use integers or fractions for any numbers in the expression. Type N

More information

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors.

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors. 1 LECTURE 3 OUTLINES Variable names in MATLAB Examples Matrices, Vectors and Scalar Scalar Vectors Entering a vector Colon operator ( : ) Mathematical operations on vectors examples 2 VARIABLE NAMES IN

More information

x = 12 x = 12 1x = 16

x = 12 x = 12 1x = 16 2.2 - The Inverse of a Matrix We've seen how to add matrices, multiply them by scalars, subtract them, and multiply one matrix by another. The question naturally arises: Can we divide one matrix by another?

More information

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx 1 of 9 FreeMat Tutorial FreeMat is a general purpose matrix calculator. It allows you to enter matrices and then perform operations on them in the same way you would write the operations on paper. This

More information

Chapter 1 Introduction to MATLAB

Chapter 1 Introduction to MATLAB Chapter 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB = MATrix LABoratory, the language of technical computing, modeling and simulation, data analysis and processing, visualization and graphics,

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Andreas C. Kapourani (Credit: Steve Renals & Iain Murray) 9 January 08 Introduction MATLAB is a programming language that grew out of the need to process matrices. It is used extensively

More information

General MATLAB Information 1

General MATLAB Information 1 Introduction to MATLAB General MATLAB Information 1 Once you initiate the MATLAB software, you will see the MATLAB logo appear and then the MATLAB prompt >>. The prompt >> indicates that MATLAB is awaiting

More information

Huge Arithmetic Toolkit

Huge Arithmetic Toolkit +x HUGE Huge Arithmetic Toolkit by Thomas E. Kurtz Co-inventor of BASIC Introduction This toolkit allows you to write True BASIC programs in the usual way except that certain numeric variables and arrays

More information

EASY STEPS TO SUCCESS: A GRAPHING CALCULATOR GUIDE

EASY STEPS TO SUCCESS: A GRAPHING CALCULATOR GUIDE EASY STEPS TO SUCCESS: A GRAPHING CALCULATOR GUIDE TO ACCOMPANY MATHEMATICAL APPLICATIONS FOR THE MANAGEMENT, LIFE, AND SOCIAL SCIENCES NINTH EDITION HARSHBARGER/REYNOLDS LISA S. YOCCO Georgia Southern

More information

PITSCO Math Individualized Prescriptive Lessons (IPLs)

PITSCO Math Individualized Prescriptive Lessons (IPLs) Orientation Integers 10-10 Orientation I 20-10 Speaking Math Define common math vocabulary. Explore the four basic operations and their solutions. Form equations and expressions. 20-20 Place Value Define

More information

Sharp EL-9900 Graphing Calculator

Sharp EL-9900 Graphing Calculator Sharp EL-9900 Graphing Calculator Basic Keyboard Activities General Mathematics Algebra Programming Advanced Keyboard Activities Algebra Calculus Statistics Trigonometry Programming Sharp EL-9900 Graphing

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University MATLAB Fundamentals Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: 1. Applied Numerical Methods with MATLAB for Engineers, Chapter 2 &

More information

UNIT - I. Introduction to C Programming. BY A. Vijay Bharath

UNIT - I. Introduction to C Programming. BY A. Vijay Bharath UNIT - I Introduction to C Programming Introduction to C C was originally developed in the year 1970s by Dennis Ritchie at Bell Laboratories, Inc. C is a general-purpose programming language. It has been

More information

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3.

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3. MATLAB Introduction Accessing Matlab... Matlab Interface... The Basics... 2 Variable Definition and Statement Suppression... 2 Keyboard Shortcuts... More Common Functions... 4 Vectors and Matrices... 4

More information

Fundamentals of MATLAB Usage

Fundamentals of MATLAB Usage 수치해석기초 Fundamentals of MATLAB Usage 2008. 9 담당교수 : 주한규 joohan@snu.ac.kr, x9241, Rm 32-205 205 원자핵공학과 1 MATLAB Features MATLAB: Matrix Laboratory Process everything based on Matrix (array of numbers) Math

More information

MATLAB GUIDE UMD PHYS401 SPRING 2012

MATLAB GUIDE UMD PHYS401 SPRING 2012 MATLAB GUIDE UMD PHYS40 SPRING 202 We will be using Matlab (or, equivalently, the free clone GNU/Octave) this semester to perform calculations involving matrices and vectors. This guide gives a brief introduction

More information

SMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014

SMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014 SMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014 Instructor: Nurul Farahain Mohammad 1 It s all about MATLAB What is MATLAB? MATLAB is a mathematical and graphical software package

More information

Chapter 1: Number and Operations

Chapter 1: Number and Operations Chapter 1: Number and Operations 1.1 Order of operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply

More information

VBScript: Math Functions

VBScript: Math Functions C h a p t e r 3 VBScript: Math Functions In this chapter, you will learn how to use the following VBScript functions to World Class standards: 1. Writing Math Equations in VBScripts 2. Beginning a New

More information

PART 1 PROGRAMMING WITH MATHLAB

PART 1 PROGRAMMING WITH MATHLAB PART 1 PROGRAMMING WITH MATHLAB Presenter: Dr. Zalilah Sharer 2018 School of Chemical and Energy Engineering Universiti Teknologi Malaysia 23 September 2018 Programming with MATHLAB MATLAB Environment

More information

Finding, Starting and Using Matlab

Finding, Starting and Using Matlab Variables and Arrays Finding, Starting and Using Matlab CSC March 6 &, 9 Array: A collection of data values organized into rows and columns, and known by a single name. arr(,) Row Row Row Row 4 Col Col

More information

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano

MATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano MATLAB Lesson I Chiara Lelli Politecnico di Milano October 2, 2012 MATLAB MATLAB (MATrix LABoratory) is an interactive software system for: scientific computing statistical analysis vector and matrix computations

More information

Inlichtingenblad, matlab- en simulink handleiding en practicumopgaven IWS

Inlichtingenblad, matlab- en simulink handleiding en practicumopgaven IWS Inlichtingenblad, matlab- en simulink handleiding en practicumopgaven IWS 1 6 3 Matlab 3.1 Fundamentals Matlab. The name Matlab stands for matrix laboratory. Main principle. Matlab works with rectangular

More information

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents:

Casio fx-cg20. Calculator Instructions A B C D E F G. Contents: Calculator Instructions Casio fx-cg20 Contents: A B C D E F G Basic functions Memory Lists Statistics Linear modelling Probability Working with functions 2 CASIO FX-CG20 A BASIC FUNCTIONS GROUPING SYMBOLS

More information

Introduction to MATLAB for Engineers, Third Edition

Introduction to MATLAB for Engineers, Third Edition PowerPoint to accompany Introduction to MATLAB for Engineers, Third Edition William J. Palm III Chapter 2 Numeric, Cell, and Structure Arrays Copyright 2010. The McGraw-Hill Companies, Inc. This work is

More information

Use of Technology. Perform statistical computations on stored data or entered statistics.

Use of Technology. Perform statistical computations on stored data or entered statistics. Chapter 1 Introduction Use of Technology Statistics is a field that deals with sets of data. After the data is collected, it needs to be organized and interpreted. There is a limit to how much of the work

More information

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1 Solving equations and inequalities graphically and algebraically 1. Plot points on the Cartesian coordinate plane. P.1 2. Represent data graphically using scatter plots, bar graphs, & line graphs. P.1

More information

Documentation for LISP in BASIC

Documentation for LISP in BASIC Documentation for LISP in BASIC The software and the documentation are both Copyright 2008 Arthur Nunes-Harwitt LISP in BASIC is a LISP interpreter for a Scheme-like dialect of LISP, which happens to have

More information

Programming in Mathematics. Mili I. Shah

Programming in Mathematics. Mili I. Shah Programming in Mathematics Mili I. Shah Starting Matlab Go to http://www.loyola.edu/moresoftware/ and login with your Loyola name and password... Matlab has eight main windows: Command Window Figure Window

More information

MATHEMATICAL / NUMERICAL FUNCTIONS

MATHEMATICAL / NUMERICAL FUNCTIONS MATHEMATICAL / NUMERICAL FUNCTIONS Function Definition Syntax Example ABS (Absolute value) ASC It returns the absolute value of a number, turning a negative to a positive (e.g. - 4 to 4) It returns the

More information