Professional Documents
Culture Documents
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Applied Force
Chapter 9
F = 200 lbf
20 feet
100
200
300
400
500
100
200
300
400
= 600
500
Pivot Point
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and
Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Arrays
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Matrix
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Matrix Algebra
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Array Operators
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
A.* B
multiplies each element in
array A times the
corresponding
element in
array B
A./B
divides each element in
array A by the corresponding
element in array B
A.^B
raises each element in array
A to the power in the
corresponding element of array B
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Transpose
Multiplication
Division
Exponentiation
Left Division
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
Dot products
Cross products
Inverse
Determinants
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Transpose
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
AT
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
1
4
100
2
5
8
3
6
10 11 12
200
300
1 4 7 10
AT 2 5 8 11
3 6 9 12
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Dot Products
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
* *
||
||
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
||
+
100
Equivalent
statements
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Example 9.1
Calculating the Center of Gravity
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
In this example
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Vehicle Component
Locations and Mass
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Item
x, meters y, meters
z meters
Mass
Bolt
0.1
3.50 gram
screw
1.50 gram
nut
1.5
0.2
0.5
0.79 gram
bracket
1.75 gram
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
Output
300
400
500
Input
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Hand Example
Find the x coordinate of the center
of gravity
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
300
400
100
200
300
400
500
x, meters
Mass,
gram
x * m, gram
meters
Bolt
0.1
x 3.50
= 0.35
screw
x 1.50
= 1.50
1.5
x 0.79
= 1.1850
x 1.75
= 3.5
nut
200
500
Item
bracket
sum
7.54
6.535
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
We know that
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
x
100
200
xm
i 1
mTotal
xm
i 1
3
This is a dot
product
m
i 1
i1
300
400
500
100
200
300
400
500
So
x =6.535/7.54 = 0.8667 meters
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
Center of Gravity
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
z-axis
100
Center of Gravity
2
1
200
300
0
2
400
500
This plot
was created
using the
interactive
plotting
tools
100
200
300
400
500
1
y-axis
1
0
x-axis
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Matrix Multiplication
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Ci , j Ai ,k Bk , j
k 1
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
mxn
nxp
The resulting matrix will have
these dimensions
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Matrix Powers
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Matrix Inverse
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
A-1
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Equivalent
approaches to
finding the
inverse of a
matrix
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Called
Singular
Ill-conditioned matrices
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Determinants
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Cross Products
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
A Ax i Ay j Az k
B Bx i B y j Bz k
200
300
400
500
100
200
300
400
500
A B ( Ay * B z Az * B y )i ( Az * B x Ax * B z ) j ( Ax B y Ay B x )k
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Solutions to Systems of
Linear Equations
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
3 x 2 y
x
x
100
200
300
z 10
3 y 2 z 5
y z 1
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
3 2 1
A 1 3 2
1 1 1
x
X y
z
10
B 5
1
100
and
200
300
400
500
100
200
300
400
500
AX=B
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Special Matrices
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
It may be tempting
to name an identity
matrix i, however i
is already in-use
for imaginary
numbers
100
200
300
400
500
100
200
300
400
500
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Other matrices
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
pascal
magic
rosser
100
200
300
400
500
100
200
300
400
500
Summary
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
C Ai * Bi
100
200
300
i 1
400
500
100
200
300
400
500
Summary Matrix
Multiplication
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Ci , j Ai ,k Bk , j
k 1
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Summary - Inverse
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
inv(A)
A^-1
or
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
Summary - Determinants
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
100
200
300
400
500
100
200
300
400
500
Rate of Change
-5
-4.5
-4
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
200
300
400
500
100
200
300
400
500
X=A\B
Left division uses Gaussian
elimination and is the preferred
approach
MATLAB for Engineers 2E, by Holly Moore. 2009 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.
This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or
transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions
Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.