Documentos de Académico
Documentos de Profesional
Documentos de Cultura
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
60
Data
Linear Fit
Quadratic Fit
Cubic Fit
50
200
Chapter 12
100
40
30
20
300
10
400
500
100
200
300
400
500
0
-10
3
Water Height, ft
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.
Section 12.2
Curve Fitting
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.
Least Squares
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
Polynomial Regression
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.
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.
Coefficients of the
first order
polynomial
describing the best
fit line
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
y 2.9143* x 14.2857
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
Linear Regression
(First Order)
-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.
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.
Section 12.3
Using the Interactive Curve Fitting
Tools
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
Create a graph
Making sure that the figure
window is the active window
select
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.
120
Rate of Change
-5
Some Data
-4
100
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Temperature, degrees F
-4.5
80
y = 21*x + 3.8
60
data 1
linear
cubic
40
20
100
200
300
-20
-1
400
500
100
200
300
400
500
2
3
4
Time, seconds
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.
Some Data
120
Temperature, degrees F
100
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
80
y = 21*x + 3.8
60
40
20
0
-20
-1
3
Time,seconds
residuals
10
5
100
200
300
-5
400
500
100
200
300
400
500
-10
0
0.5
1.5
2.5
3.5
4.5
Residuals are the difference between the actual and calculated data
points
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
Select
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Tools->Data Statistics
100
200
300
400
500
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
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
US Population Data
-5
250
Rate of Change
-4
-3.5
-3
-2.5
200
-2
-1.5
-1
-0.5
0
0.5
1.5
2.5
time, hour
3.5
4.5
Population, in millions
-4.5
150
100
50
100
200
300
400
500
100
200
300
400
500
1800
1820
1840
1860
1940
1960
1980