a) Write a function that performs linear regression by linearising the saturation-growth rate (SGR) model. function [F, V, r2] = LinRegrSGR(x, y, order) b) Use the function written in part a) to estimate F and V using the data below: [m] 1.3 1.8 6 4.5 0.275 a 0.07 0.13 0.335 Plot the raw data as red squares and determine the a0, a1 and r² values. c) Plot the fitted curve from m = 1 to 10 with a spacing of 0.1 with a blue dashed line. 3 0.22 8 0.35 9 0.36

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section3.3: Lines
Problem 76E
icon
Related questions
Question

Please use matlab.

 

Task 3
An acceleration of a heavily loaded vehicle is given by the second order equation:
F[m]²
a = V²+[m]²
a) Write a function that performs linear regression by linearising the saturation-growth rate
(SGR) model.
function [F, V, r2] = LinRegrSGR(x, y, order)
b) Use the function written in part a) to estimate F and V using the data below:
[m]
1.3
1.8
4.5
0.275
6
0.335
a
0.07
0.13
Plot the raw data as red squares and determine the a0, a1 and r² values.
c) Plot the fitted curve from m = 1 to 10 with a spacing of 0.1 with a blue dashed line.
3
0.22
8
0.35
9
0.36
Transcribed Image Text:Task 3 An acceleration of a heavily loaded vehicle is given by the second order equation: F[m]² a = V²+[m]² a) Write a function that performs linear regression by linearising the saturation-growth rate (SGR) model. function [F, V, r2] = LinRegrSGR(x, y, order) b) Use the function written in part a) to estimate F and V using the data below: [m] 1.3 1.8 4.5 0.275 6 0.335 a 0.07 0.13 Plot the raw data as red squares and determine the a0, a1 and r² values. c) Plot the fitted curve from m = 1 to 10 with a spacing of 0.1 with a blue dashed line. 3 0.22 8 0.35 9 0.36
Expert Solution
steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Algebra and Trigonometry (MindTap Course List)
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning