Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is linear algebra part. A^TAX=A^TX I have the answer, but I have to submit matlab, however, I cannot use matlab, so can I give
This is linear algebra part. A^TAX=A^TX I have the answer, but I have to submit matlab, however, I cannot use matlab, so can I give to how to write answer for matlab? please show me the work and code. code mean that like copy for matlab. thanks
We need to find the least squares regression quadratic for the data t(5.21-2).(6.24.1). (7.27.2). (8.29.3). (9.32.0). (10.32.5) We have to plug into the data into the following equation y +Gx+cyx 21-2- ca +5ch +25c. 24-1 6ci +36% 27.2- co +49c 29.3 +8c +64 c 32.5 co +10ch +100c Comment Step 2 of 7 Now we can create the following matrices Ax b 1 5 251 21.2 1 6 36 24.1 1 7 49 27.2 ch 29.3 1 8 1 9 81 32.0 1 10 100 Next we need to compute ATA 1 5 25 1 6 36 1 1 1 1 1 7 49 ATA- 5 6 7 8 9 10 1 8 64 25 36 49 64 81 100 1 9 81 1 10 100 6 45 355 ATA 45 355 2925 355 2925 24979 Comment We need to find the least squares regression quadratic for the data t(5.21-2).(6.24.1). (7.27.2). (8.29.3). (9.32.0). (10.32.5) We have to plug into the data into the following equation y +Gx+cyx 21-2- ca +5ch +25c. 24-1 6ci +36% 27.2- co +49c 29.3 +8c +64 c 32.5 co +10ch +100c Comment Step 2 of 7 Now we can create the following matrices Ax b 1 5 251 21.2 1 6 36 24.1 1 7 49 27.2 ch 29.3 1 8 1 9 81 32.0 1 10 100 Next we need to compute ATA 1 5 25 1 6 36 1 1 1 1 1 7 49 ATA- 5 6 7 8 9 10 1 8 64 25 36 49 64 81 100 1 9 81 1 10 100 6 45 355 ATA 45 355 2925 355 2925 24979 CommentStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started