ENGR 1181 MATLAB 4: Array Operations

Size: px
Start display at page:

Download "ENGR 1181 MATLAB 4: Array Operations"

Transcription

1 ENGR 81 MTL 4: rray Operations Learning Objectives 1. Explain meaning of element-by-element operations. Identify situations where the standard operators in MTL (when used with arrays) are reserved for linear algebra, which is not always element-by-element 3. pply dot operators for a. The six cases where linear algebra is not element-by-element and therefore dot operators are needed to produce element-by-element calculations Topics Students will read Chapter of the MTL book before coming to class. This preparation material is provided to supplement this reading. Students will learn a basic understanding of array operations in MTL. This material contains the following: 1. Matrix rithmetic Overview a. Matrix Math (beyond this class) b. Element-by-Element rithmetic. Scalar-rray rithmetic 3. rray-rray rithmetic 4. Dot Operators 5. Element-by-Element Examples 6. uilt-in rray Functions 7. pplication of rray Operations 1. Matrix rithmetic Overview There are two types of matrix arithmetic: 1. Matrix math is used in Linear lgebra to solve simultaneous equations. This is beyond the scope of this course, but can be read about in Chapter. 3. and This course introduces element-by-element arithmetic. If = [a b c] and = [x y z], then + = [a+x b+y c+z] 1

2 ENGR 81 MTL 4: rray Operations If and are matrices and s is a scalar, then: There are only six cases where matrix math and element-by-element arithmetic differ * / ^ ^s s^ s/ For these cases, the standard operator has been chosen to represent matrix arithmetic, so we need a new symbol for element-by element arithmetic (dot operators).*./.^.^s s.^ s./ The arrays must be the same size for matrix arithmetic. Element-by-element operations for row vectors: If: a = [a1 a a3] and b = [b1 b b3] Then: a.* b = [ a 1 * b 1 a * b a 3* b 3 ] a./ b = [ a 1 / b 1 a / b a 3 / b 3 ] a.^ b = [ a 1^b 1 a ^b a 3^b 3 ] a.^ = [ a 1^ a ^ a 3^ ]./a = [ /a 1 /a /a 3 ]. Dot Operators Given the matrices and : Then, the following dot operations are true: Multiplication.* Division (vector by vector) /./ 1/ / 1 / 1 3 / / 1 3 / 3 / 3 /

3 ENGR 81 MTL 4: rray Operations Division (scalar by vector) 6./ 6/ 6/ 6/ 1 6/ 6/ 6/ 1 3 6/ 6/ 6/ 3 Exponential (vector to scalar).^ If you forget a dot when one is required, you will either get a cryptic error message (involving matrix dimensions) or you will get the wrong answer. For certain operations, matrix math is the same as element-by-element arithmetic, so dot operators are optional. This is true for the following operations: s+ s- -s + - s* /s 3. Scalar-rray rithmetic Scalar-rray ddition and Subtraction The scalar operates on each element in the array. For example, given the following matrix M and the scalar s = we would get the following results for addition and subtraction. 3

4 ENGR 81 MTL 4: rray Operations Scalar-rray Multiplication and Division The scalar operates on each element in the array For example, given the same matrix M and scalar s = we would get the following results for multiplication and division 4

5 ENGR 81 MTL 4: rray Operations 4. rray-rray rithmetic rray-rray ddition and Subtraction The arrays being used in the operation must have the same size. The sum (difference) of two arrays is obtained by adding (subtracting) corresponding array elements, resulting in a new array of the same size. 5

6 ENGR 81 MTL 4: rray Operations 5. Element-by-Element Examples Given the following matrices and : >> = [1,, 3; 4, 5, 6] = >> = [1,, -1;, -, 5] = then the following operations are true: >>.* >>./ >>.^

7 ENGR 81 MTL 4: rray Operations 6. uilt-in rray Functions MTL has many built-in functions that can be used with arrays. Some of them are ( is a vector): max() min() mean() sum() length() sort() Returns the largest element in Returns the smallest element in Returns the average value of the elements in Returns the sum of the elements of Returns the number of elements in Sorts the elements of The Help window gives information about many other built-in MTL functions. EXMPLES OF UILT IN FUNCTIONS: >> = [ ] =

8 ENGR 81 MTL 4: rray Operations >> max() 14 >> min() >> mean() 8 >> sum() 48 >> length() 6 >> sort()

9 ENGR 81 MTL 4: rray Operations >> mass = [ ]; >> force = [ ]; >> mu = force./ (9.81 * mass) mu = >> mu_ave = mean(mu) meu_ave =

Mathematical Operations with Arrays and Matrices

Mathematical Operations with Arrays and Matrices Mathematical Operations with Arrays and Matrices Array Operators (element-by-element) (important) + Addition A+B adds B and A - Subtraction A-B subtracts B from A.* Element-wise multiplication.^ Element-wise

More information

3. Replace any row by the sum of that row and a constant multiple of any other row.

3. Replace any row by the sum of that row and a constant multiple of any other row. Math Section. Section.: Solving Systems of Linear Equations Using Matrices As you may recall from College Algebra or Section., you can solve a system of linear equations in two variables easily by applying

More information

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang Maths for Signals and Systems Linear Algebra in Engineering Some problems by Gilbert Strang Problems. Consider u, v, w to be non-zero vectors in R 7. These vectors span a vector space. What are the possible

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

ENGR 1181 MATLAB 02: Array Creation

ENGR 1181 MATLAB 02: Array Creation ENGR 1181 MATLAB 02: Array Creation Learning Objectives: Students will read Chapter 2.1 2.4 of the MATLAB book before coming to class. This preparation material is provided to supplement this reading.

More information

Topic 3. Mathematical Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations

Topic 3. Mathematical Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations Topic 3 Mathematical Operations Matrix & Linear Algebra Operations Element-by-Element(array) Operations 1 Introduction Matlab is designed to carry out advanced array operations that have many applications

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

Equations and Problem Solving with Fractions. Variable. Expression. Equation. A variable is a letter used to represent a number.

Equations and Problem Solving with Fractions. Variable. Expression. Equation. A variable is a letter used to represent a number. MAT 040: Basic Math Equations and Problem Solving with Fractions Variable A variable is a letter used to represent a number. Expression An algebraic expression is a combination of variables and/or numbers

More information

Curriculum Map: Mathematics

Curriculum Map: Mathematics Curriculum Map: Mathematics Course: Honors Advanced Precalculus and Trigonometry Grade(s): 11-12 Unit 1: Functions and Their Graphs This chapter will develop a more complete, thorough understanding of

More information

Array Accessing and Strings ENGR 1187 MATLAB 3

Array Accessing and Strings ENGR 1187 MATLAB 3 Array Accessing and Strings ENGR 1187 MATLAB 3 Today's Topics Array Addressing (indexing) Vector Addressing (indexing) Matrix Addressing (indexing) Today's Topics Array Addressing (indexing) Vector Addressing

More information

Array Accessing and Strings ENGR 1181 MATLAB 3

Array Accessing and Strings ENGR 1181 MATLAB 3 Array Accessing and Strings ENGR 1181 MATLAB 3 Array Accessing In The Real World Recall from the previously class that seismic data is important in structural design for civil engineers. Accessing data

More information

ENGR 1181 MATLAB 09: For Loops 2

ENGR 1181 MATLAB 09: For Loops 2 ENGR 1181 MATLAB 09: For Loops Learning Objectives 1. Use more complex ways of setting the loop index. Construct nested loops in the following situations: a. For use with two dimensional arrays b. For

More information

Introduction to Matlab. By: Hossein Hamooni Fall 2014

Introduction to Matlab. By: Hossein Hamooni Fall 2014 Introduction to Matlab By: Hossein Hamooni Fall 2014 Why Matlab? Data analytics task Large data processing Multi-platform, Multi Format data importing Graphing Modeling Lots of built-in functions for rapid

More information

Lecture 12 (Last): Parallel Algorithms for Solving a System of Linear Equations. Reference: Introduction to Parallel Computing Chapter 8.

Lecture 12 (Last): Parallel Algorithms for Solving a System of Linear Equations. Reference: Introduction to Parallel Computing Chapter 8. CZ4102 High Performance Computing Lecture 12 (Last): Parallel Algorithms for Solving a System of Linear Equations - Dr Tay Seng Chuan Reference: Introduction to Parallel Computing Chapter 8. 1 Topic Overview

More information

SCIE 4101, Spring Math Review Packet #4 Algebra II (Part 1) Notes

SCIE 4101, Spring Math Review Packet #4 Algebra II (Part 1) Notes SCIE 4101, Spring 011 Miller Math Review Packet #4 Algebra II (Part 1) Notes Matrices A matrix is a rectangular arra of numbers. The order of a matrix refers to the number of rows and columns the matrix

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

MATH (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab

MATH (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab MATH 495.3 (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab Below is a screen similar to what you should see when you open Matlab. The command window is the large box to the right containing the

More information

Topic 1.6: Lines and Planes

Topic 1.6: Lines and Planes Math 275 Notes (Ultman) Topic 1.6: Lines and Planes Textbook Section: 12.5 From the Toolbox (what you need from previous classes): Plotting points, sketching vectors. Be able to find the component form

More information

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions:

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions: Matrices A Matrix is an array of numbers: We talk about one matrix, or several matrices. There are many things we can do with them... Adding A Matrix (This one has 2 Rows and 3 Columns) To add two matrices:

More information

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011 Rice University, Summer 20 Math 355: Linear Algebra: Midterm Colin Carroll June 25, 20 I have adhered to the Rice honor code in completing this test. Signature: Name: Date: Time: Please read the following

More information

MAT 003 Brian Killough s Instructor Notes Saint Leo University

MAT 003 Brian Killough s Instructor Notes Saint Leo University MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

More information

Game Mathematics. (12 Week Lesson Plan)

Game Mathematics. (12 Week Lesson Plan) Game Mathematics (12 Week Lesson Plan) Lesson 1: Set Theory Textbook: Chapter One (pgs. 1 15) We begin the course by introducing the student to a new vocabulary and set of rules that will be foundational

More information

Fractions. There are several terms that are commonly used when working with fractions.

Fractions. There are several terms that are commonly used when working with fractions. Chapter 0 Review of Arithmetic Fractions There are several terms that are commonly used when working with fractions. Fraction: The ratio of two numbers. We use a division bar to show this ratio. The number

More information

A Survey of Mathematics with Applications 8 th Edition, 2009

A Survey of Mathematics with Applications 8 th Edition, 2009 A Correlation of A Survey of Mathematics with Applications 8 th Edition, 2009 South Carolina Discrete Mathematics Sample Course Outline including Alternate Topics and Related Objectives INTRODUCTION This

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

One-dimensional Array

One-dimensional Array One-dimensional Array ELEC 206 Prof. Siripong Potisuk 1 Defining 1-D Array Also known as a vector A list of numbers arranged in a row row vector or a column column vector A scalar variable is a one-element

More information

ENGI Introduction to Computer Programming M A Y 2 8, R E Z A S H A H I D I

ENGI Introduction to Computer Programming M A Y 2 8, R E Z A S H A H I D I ENGI 1020 - Introduction to Computer Programming M A Y 2 8, 2 0 1 0 R E Z A S H A H I D I Last class Last class we talked about the following topics: Constants Assignment statements Parameters and calling

More information

Table of Contents. Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1

Table of Contents. Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1 Table of Contents Table of Contents Introduction to the Math Practice Series...iv Common Mathematics Symbols and Terms...1 Chapter 1: Real Numbers...5 Real Numbers...5 Checking Progress: Real Numbers...8

More information

Introduction to Matrix Operations in Matlab

Introduction to Matrix Operations in Matlab Introduction to Matrix Operations in Matlab Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Introduction to Matrix Operations in Matlab Overview

More information

Introduction to MatLab. Introduction to MatLab K. Craig 1

Introduction to MatLab. Introduction to MatLab K. Craig 1 Introduction to MatLab Introduction to MatLab K. Craig 1 MatLab Introduction MatLab and the MatLab Environment Numerical Calculations Basic Plotting and Graphics Matrix Computations and Solving Equations

More information

Wits Maths Connect Secondary Project Card-sorting Activities

Wits Maths Connect Secondary Project Card-sorting Activities Project Card-sorting Activities This pack consists of card-sorting activities which focus on working with different representations. Activities and focus on points while Activity focuses on the linear

More information

Review Ch. 15 Spreadsheet and Worksheet Basics. 2010, 2006 South-Western, Cengage Learning

Review Ch. 15 Spreadsheet and Worksheet Basics. 2010, 2006 South-Western, Cengage Learning Review Ch. 15 Spreadsheet and Worksheet Basics 2010, 2006 South-Western, Cengage Learning Excel Worksheet Slide 2 Move Around a Worksheet Use the mouse and scroll bars Use and (or TAB) Use PAGE UP and

More information

CAMBRIDGE TECHNOLOGY IN MATHS Year 11 TI-89 User guide

CAMBRIDGE TECHNOLOGY IN MATHS Year 11 TI-89 User guide Year 11 TI-89 User guide Page 1 of 17 CAMBRIDGE TECHNOLOGY IN MATHS Year 11 TI-89 User guide CONTENTS Getting started 2 Linear equations and graphs 3 Statistics 5 Sequences 11 Business and related mathematics

More information

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has.

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has. ASSIGNMENT 0 Introduction to Linear Algebra (Basics of vectors and matrices) Due 3:30 PM, Tuesday, October 10 th. Assignments should be submitted via e-mail to: matlabfun.ucsd@gmail.com You can also submit

More information

ENGR 1181c Midterm Exam 2: Study Guide and Practice Problems

ENGR 1181c Midterm Exam 2: Study Guide and Practice Problems ENGR 1181c Midterm Exam 2: Study Guide and Practice Problems Disclaimer Problems seen in this study guide may resemble problems relating mainly to the pertinent homework assignments. Reading this study

More information

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

LAB 2: Linear Equations and Matrix Algebra. Preliminaries Math 250C, Section C2 Hard copy submission Matlab # 2 1 Revised 07/13/2016 LAB 2: Linear Equations and Matrix Algebra In this lab you will use Matlab to study the following topics: Solving a system of

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

Unit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers

Unit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers Contents STRAND B: Number Theory Unit 7 Number System and Bases Student Text Contents Section 7. Number System 7.2 Binary Numbers 7.3 Adding and Subtracting Binary Numbers 7.4 Multiplying Binary Numbers

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

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix. Row echelon form A matrix is said to be in the row echelon form if the leading entries shift to the

More information

1.8 Intro to Variables, Algebraic Expressions, and Equations

1.8 Intro to Variables, Algebraic Expressions, and Equations 1.8 Intro to Variables, Algebraic Expressions, and Equations Professor Tim Busken M.S. Applied Mathematics with a Concentration in Dynamical Systems San Diego State University 2011 Southwestern College

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

Lecture Notes Order of Operations page 1

Lecture Notes Order of Operations page 1 Lecture Notes Order of Operations page 1 The order of operations rule is an agreement among mathematicians, it simplies notation. P stands for parentheses, E for exponents, M and D for multiplication and

More information

Algebra 2 Semester 2 Final Exam Study Outline Semester 2 Final Exam Study Tips and Information

Algebra 2 Semester 2 Final Exam Study Outline Semester 2 Final Exam Study Tips and Information Algebra 2 Semester 2 Final Exam Study Outline 2013 Semester 2 Final Exam Study Tips and Information The final exam is CUMULATIVE and will include all concepts taught from Chapter 1 through Chapter 13.

More information

Chapter 0: Algebra II Review

Chapter 0: Algebra II Review Chapter 0: Algebra II Review Topic 1: Simplifying Polynomials & Exponential Expressions p. 2 - Homework: Worksheet Topic 2: Radical Expressions p. 32 - Homework: p. 45 #33-74 Even Topic 3: Factoring All

More information

FUNDAMENTAL ARITHMETIC

FUNDAMENTAL ARITHMETIC FUNDAMENTAL ARITHMETIC Prime Numbers Prime numbers are any whole numbers greater than that can only be divided by and itself. Below is the list of all prime numbers between and 00: Prime Factorization

More information

Algorithms and Data Structures

Algorithms and Data Structures Algorithms and Data Structures 4. Łódź 2018 Exercise Harmonic Sum - Type in the program code - Save it as harmonic.py - Run the script using IPython Wikipedia - This program uses the for loop, the range()

More information

7/25/2016. Example: Addition of Unsigned Bit Patterns. ECE 120: Introduction to Computing. Adding Two Non-Negative Patterns Can Overflow

7/25/2016. Example: Addition of Unsigned Bit Patterns. ECE 120: Introduction to Computing. Adding Two Non-Negative Patterns Can Overflow University of Illinois at Urbana-Champaign Dept. of Electrical and Computer Engineering ECE 120: Introduction to Computing 2 s Complement Overflow and Boolean Logic Example: ddition of Unsigned Bit Patterns

More information

ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems

ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems ENGR 1181 Autumn 2015 Final Exam Study Guide and Practice Problems Disclaimer Problems seen in this study guide may resemble problems relating mainly to the pertinent homework assignments. Reading this

More information

Exponential Notation

Exponential Notation Exponential Notation INTRODUCTION Chemistry as a science deals with the qualitative and quantitative aspects of substances. In the qualitative part, we deal with the general and specific properties of

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

Column and row space of a matrix

Column and row space of a matrix Column and row space of a matrix Recall that we can consider matrices as concatenation of rows or columns. c c 2 c 3 A = r r 2 r 3 a a 2 a 3 a 2 a 22 a 23 a 3 a 32 a 33 The space spanned by columns of

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

Solve the matrix equation AX B for X by using A.(1-3) Use the Inverse Matrix Calculator Link to check your work

Solve the matrix equation AX B for X by using A.(1-3) Use the Inverse Matrix Calculator Link to check your work Name: Math 1324 Activity 9(4.6)(Due by Oct. 20) Dear Instructor or Tutor, These problems are designed to let my students show me what they have learned and what they are capable of doing on their own.

More information

CS184: Using Quaternions to Represent Rotation

CS184: Using Quaternions to Represent Rotation Page 1 of 5 CS 184 home page A note on these notes: These notes on quaternions were created as a resource for students taking CS184 at UC Berkeley. I am not doing any research related to quaternions and

More information

Introduction to MATLAB 7 for Engineers

Introduction to MATLAB 7 for Engineers PowerPoint to accompany Introduction to MATLAB 7 for Engineers William J. Palm III Chapter 2 Numeric, Cell, and Structure Arrays Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for

More information

Module 7 Highlights. Mastered Reviewed. Sections ,

Module 7 Highlights. Mastered Reviewed. Sections , Sections 5.3 5.6, 6.1 6.6 Module 7 Highlights Andrea Hendricks Math 0098 Pre-college Algebra Topics Degree & leading coeff. of a univariate polynomial (5.3, Obj. 1) Simplifying a sum/diff. of two univariate

More information

The School District of Palm Beach County Fourth Grade Mathematics Scope st Trimester

The School District of Palm Beach County Fourth Grade Mathematics Scope st Trimester Number and Operations in Base Ten Generalize place value understanding for multi-digit whole numbers. NBT.1.1 NBT.1.2 NBT.1.3 Recognize that in a multi-digit whole number, a digit in one place represents

More information

AH Matrices.notebook November 28, 2016

AH Matrices.notebook November 28, 2016 Matrices Numbers are put into arrays to help with multiplication, division etc. A Matrix (matrices pl.) is a rectangular array of numbers arranged in rows and columns. Matrices If there are m rows and

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

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

Vector Algebra Transformations. Lecture 4

Vector Algebra Transformations. Lecture 4 Vector Algebra Transformations Lecture 4 Cornell CS4620 Fall 2008 Lecture 4 2008 Steve Marschner 1 Geometry A part of mathematics concerned with questions of size, shape, and relative positions of figures

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

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120 Whitman-Hanson Regional High School provides all students with a high- quality education in order to develop reflective, concerned citizens and contributing members of the global community. Course Number

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

Armstrong State University Engineering Studies MATLAB Marina 2D Arrays and Matrices Primer

Armstrong State University Engineering Studies MATLAB Marina 2D Arrays and Matrices Primer Armstrong State University Engineering Studies MATLAB Marina 2D Arrays and Matrices Primer Prerequisites The 2D Arrays and Matrices Primer assumes knowledge of the MATLAB IDE, MATLAB help, arithmetic operations,

More information

Chapter 7: Programming in MATLAB

Chapter 7: Programming in MATLAB The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Computer Programming (ECIV 2302) Chapter 7: Programming in MATLAB 1 7.1 Relational and Logical Operators == Equal to ~=

More information

Computer & Careers Mr. Lewis

Computer & Careers Mr. Lewis Microsoft Excel Unit A Computer & Careers Mr. Lewis Definitions: Spreadsheet Worksheet Workbook Formulas File Extension When you open a spreadsheet the default name is Is an application you use to perform

More information

Matlab Introduction. Scalar Variables and Arithmetic Operators

Matlab Introduction. Scalar Variables and Arithmetic Operators Matlab Introduction Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic. It is a large software package that has many advanced

More information

AN INTRODUCTION TO MATLAB

AN INTRODUCTION TO MATLAB AN INTRODUCTION TO MATLAB 1 Introduction MATLAB is a powerful mathematical tool used for a number of engineering applications such as communication engineering, digital signal processing, control engineering,

More information

Arrays and Matrix Operations

Arrays and Matrix Operations 9 Arrays and Matrix Operations 1 THE PRIMARY MATLAB DATA STRUCTURE As we have previously stated, the basic data element in the MATLAB system is the array. A scalar is represented as a 1 * 1 array that

More information

Finite Math - J-term Homework. Section Inverse of a Square Matrix

Finite Math - J-term Homework. Section Inverse of a Square Matrix Section.5-77, 78, 79, 80 Finite Math - J-term 017 Lecture Notes - 1/19/017 Homework Section.6-9, 1, 1, 15, 17, 18, 1, 6, 9, 3, 37, 39, 1,, 5, 6, 55 Section 5.1-9, 11, 1, 13, 1, 17, 9, 30 Section.5 - Inverse

More information

The City School PECHS Junior Boys 2 nd Term Ms Excel- Task 2, 3-Worksheet

The City School PECHS Junior Boys 2 nd Term Ms Excel- Task 2, 3-Worksheet Q1) Fill in the blanks with appropriate answers. 1. Quicker calculation of sum of multiple sets of data can be done using Auto Fill tool. 2. Spread Sheet is also used to do difficult calculations quickly

More information

Common Core Vocabulary and Representations

Common Core Vocabulary and Representations Vocabulary Description Representation 2-Column Table A two-column table shows the relationship between two values. 5 Group Columns 5 group columns represent 5 more or 5 less. a ten represented as a 5-group

More information

X Std. Topic Content Expected Learning Outcomes Mode of Transaction

X Std. Topic Content Expected Learning Outcomes Mode of Transaction X Std COMMON SYLLABUS 2009 - MATHEMATICS I. Theory of Sets ii. Properties of operations on sets iii. De Morgan s lawsverification using example Venn diagram iv. Formula for n( AÈBÈ C) v. Functions To revise

More information

Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology. Scotland T 3. Matrices. Teachers Teaching with Technology (Scotland)

Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology. Scotland T 3. Matrices. Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology T 3 Scotland Matrices Teachers Teaching with Technology (Scotland) MATRICES Aim To demonstrate how the TI-83 can be used to

More information

Math 205 Test 3 Grading Guidelines Problem 1 Part a: 1 point for figuring out r, 2 points for setting up the equation P = ln 2 P and 1 point for the initial condition. Part b: All or nothing. This is really

More information

Introduction to MATLAB

Introduction to MATLAB CHEE MATLAB Tutorial Introduction to MATLAB Introduction In this tutorial, you will learn how to enter matrices and perform some matrix operations using MATLAB. MATLAB is an interactive program for numerical

More information

Vocabulary Cards and Word Walls. Ideas for everyday use of a Word Wall to develop vocabulary knowledge and fluency by the students

Vocabulary Cards and Word Walls. Ideas for everyday use of a Word Wall to develop vocabulary knowledge and fluency by the students Vocabulary Cards and Word Walls The vocabulary cards in this file match the Common Core Georgia Performance Standards. The cards are arranged alphabetically. Each card has three sections. o Section 1 is

More information

GRAPHING CALCULATOR REFERENCE BOOK

GRAPHING CALCULATOR REFERENCE BOOK John T. Baker Middle School GRAPHING CALCULATOR REFERENCE BOOK Name: Teacher: - 1 - To Graph an Equation: Graphing Linear Equations 1.) Press Y= and enter the equation into Y 1. 2.) To see the graph in

More information

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations, The Simplex Method for Systems of Linear Inequalities Todd O. Moyer, Towson University Abstract: This article details the application of the Simplex Method for an Algebra 2 class. Students typically learn

More information

Chapter 1: Foundations for Algebra

Chapter 1: Foundations for Algebra Chapter 1: Foundations for Algebra Dear Family, The student will follow the order of operations, a set of rules that standardize how to simplify expressions. Order of Operations 1. Perform operations within

More information

MAT 090 Brian Killough s Instructor Notes Strayer University

MAT 090 Brian Killough s Instructor Notes Strayer University MAT 090 Brian Killough s Instructor Notes Strayer University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

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

ENGR 1181 MATLAB 15: Functions 2

ENGR 1181 MATLAB 15: Functions 2 ENGR 1181 MATLAB 15: Functions 2 Learning Objectives 1. Integrate user-written functions into the same file with the main program 2. Identify good function conventions, (e.g., the importance of placing

More information

Introduction to MATLAB. Computational Probability and Statistics CIS 2033 Section 003

Introduction to MATLAB. Computational Probability and Statistics CIS 2033 Section 003 Introduction to MATLAB Computational Probability and Statistics CIS 2033 Section 003 About MATLAB MATLAB (MATrix LABoratory) is a high level language made for: Numerical Computation (Technical computing)

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab By:Mohammad Sadeghi *Dr. Sajid Gul Khawaja Slides has been used partially to prepare this presentation Outline: What is Matlab? Matlab Screen Basic functions Variables, matrix, indexing

More information

Lecture 2. Arrays. 1 Introduction

Lecture 2. Arrays. 1 Introduction 1 Introduction Lecture 2 Arrays As the name Matlab is a contraction of matrix laboratory, you would be correct in assuming that Scilab/Matlab have a particular emphasis on matrices, or more generally,

More information

Fuzzy Set, Fuzzy Logic, and its Applications

Fuzzy Set, Fuzzy Logic, and its Applications Sistem Cerdas (TE 4485) Fuzzy Set, Fuzzy Logic, and its pplications Instructor: Thiang Room: I.201 Phone: 031-2983115 Email: thiang@petra.ac.id Sistem Cerdas: Fuzzy Set and Fuzzy Logic - 1 Introduction

More information

Vocabulary Cards and Word Walls

Vocabulary Cards and Word Walls Vocabulary Cards and Word Walls Revised: September 9, 2011 Important Notes for Teachers: The vocabulary cards in this file match the Common Core, the mathematics learning standards adopted by the Washington

More information

Dynamics and Vibrations Mupad tutorial

Dynamics and Vibrations Mupad tutorial Dynamics and Vibrations Mupad tutorial School of Engineering Brown University ENGN40 will be using Matlab Live Scripts instead of Mupad. You can find information about Live Scripts in the ENGN40 MATLAB

More information

RELEASED. NC Final Exam. NC Math 3. Released Items. Student Name:

RELEASED. NC Final Exam. NC Math 3. Released Items. Student Name: Released Items Student Name: N Math 017 018 Public Schools of North arolina State oard of Education epartment of Public Instruction Raleigh, North arolina 7699-614 N Final Exam opyright 017 by the North

More information

An array is a collection of data that holds fixed number of values of same type. It is also known as a set. An array is a data type.

An array is a collection of data that holds fixed number of values of same type. It is also known as a set. An array is a data type. Data Structures Introduction An array is a collection of data that holds fixed number of values of same type. It is also known as a set. An array is a data type. Representation of a large number of homogeneous

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

February 01, Matrix Row Operations 2016 ink.notebook. 6.6 Matrix Row Operations. Page 49 Page Row operations

February 01, Matrix Row Operations 2016 ink.notebook. 6.6 Matrix Row Operations. Page 49 Page Row operations 6.6 Matrix Row Operations 2016 ink.notebook Page 49 Page 50 6.6 Row operations (Solve Systems with Matrices) Lesson Objectives Page 51 Standards Lesson Notes Page 52 6.6 Matrix Row Operations Press the

More information

2 1 = 1; 1 1 = 0; 0 1 = 1; 1 1 = 2

2 1 = 1; 1 1 = 0; 0 1 = 1; 1 1 = 2 Section 1: Integers MATH LESSON PLAN 8 INTEGERS 2015 Copyright Vinay Agarwala, Checked: 10/28/15 1. The following chart shows where integers fit in the scheme of Arithmetic. 2. Integers are numbers that

More information

MATLAB An introductory tutorial

MATLAB An introductory tutorial MATLAB An introductory tutorial By Carin Nilsson Dept. of Physical Geography and Ecosystems Analysis (taken from the tutorials for course NGE604 Climate Systems) And Chantal Donnelly (Dept. of Water Resources

More information

Franklin Math Bowl 2008 Group Problem Solving Test Grade 6

Franklin Math Bowl 2008 Group Problem Solving Test Grade 6 Group Problem Solving Test Grade 6 1. The fraction 32 17 can be rewritten by division in the form 1 p + q 1 + r Find the values of p, q, and r. 2. Robert has 48 inches of heavy gauge wire. He decided to

More information

Watkins Mill High School. Algebra 2. Math Challenge

Watkins Mill High School. Algebra 2. Math Challenge Watkins Mill High School Algebra 2 Math Challenge "This packet will help you prepare for Algebra 2 next fall. It will be collected the first week of school. It will count as a grade in the first marking

More information

Go Math 3 rd Grade Meramec Valley R-3 School District. Yearly Plan. 1 Updated 6/24/16

Go Math 3 rd Grade Meramec Valley R-3 School District. Yearly Plan. 1 Updated 6/24/16 Go Math 3 rd Grade Meramec Valley R-3 School District Yearly Plan 1 Unit Plans 3 rd Grade In Grade 3, instructional time should focus on four critical areas: (1) developing understanding of multiplication

More information