I'm getting an error on line  12. Can anybody help me? I just don't understand it.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

I'm getting an error on line  12. Can anybody help me? I just don't understand it.

■
D2L
zy
-
+
https://learn.zybooks.com/zybook/MAT-350-J6466-OL-TRAD-UG.22EW6/chapter/6/section/2
D2L Login Southern N...
The Chop Shop | Bu...
Type here to search
SNHU Bookstore
=zyBooks My library > MAT 350: Linear Algebra home > 6.2: MATLAB: Eigenvalues and Eigenvectors
zy Section 6.2 - MAT 350: Linear Algebra
Use the following matrix C for this activity.
[63 -8
C 0 -2 0
LI
0 -3.
Script
1%Enter the matrix C.
C = [6 3 -8; 0 -2 0; 1 0 -3]
%Find the coefficients of the characteristic polynomial. store them in PolyCoeffs.
5 PolyCoeffs = poly (C)
7
Use the command roots() to find the eigenvalues. store them in evals.
8 evals = roots (PolyCoeffs)
12 [eigDiag] = eig(C)
13
10 %Use the eig() command. Store the eigenvalues in matrix eigDiag. Store the associated
11 %eigenvectors in eigv.
Assessment: 3 of 5 Tests Passed
Matrix C correct
Characteristic polynomial coefficients PolyCoeffs correct
✔ Eigenvalues evals correct
Save C Reset
Feedback hidden for errors below, as these errors may be due to the initial error. Show Feedback
> Matrix of eigenvectors eigV correct
Diagonal matrix of eigenvalues eigDiag correct
Variable eigDiag must be of size [33]. It is currently of size [3 1]. Check where the variable is assigned a value.
EPIC
GAMES
C
MATLAB Documentation
▶ Run Script ?
Submit ?
0
1031
{"
EzyBooks catalog
I
Bo
Help/FAQ
X
Other favorites
Michael Pagano
9:13 PM
8/19/2022
ㅁ
Transcribed Image Text:■ D2L zy - + https://learn.zybooks.com/zybook/MAT-350-J6466-OL-TRAD-UG.22EW6/chapter/6/section/2 D2L Login Southern N... The Chop Shop | Bu... Type here to search SNHU Bookstore =zyBooks My library > MAT 350: Linear Algebra home > 6.2: MATLAB: Eigenvalues and Eigenvectors zy Section 6.2 - MAT 350: Linear Algebra Use the following matrix C for this activity. [63 -8 C 0 -2 0 LI 0 -3. Script 1%Enter the matrix C. C = [6 3 -8; 0 -2 0; 1 0 -3] %Find the coefficients of the characteristic polynomial. store them in PolyCoeffs. 5 PolyCoeffs = poly (C) 7 Use the command roots() to find the eigenvalues. store them in evals. 8 evals = roots (PolyCoeffs) 12 [eigDiag] = eig(C) 13 10 %Use the eig() command. Store the eigenvalues in matrix eigDiag. Store the associated 11 %eigenvectors in eigv. Assessment: 3 of 5 Tests Passed Matrix C correct Characteristic polynomial coefficients PolyCoeffs correct ✔ Eigenvalues evals correct Save C Reset Feedback hidden for errors below, as these errors may be due to the initial error. Show Feedback > Matrix of eigenvectors eigV correct Diagonal matrix of eigenvalues eigDiag correct Variable eigDiag must be of size [33]. It is currently of size [3 1]. Check where the variable is assigned a value. EPIC GAMES C MATLAB Documentation ▶ Run Script ? Submit ? 0 1031 {" EzyBooks catalog I Bo Help/FAQ X Other favorites Michael Pagano 9:13 PM 8/19/2022 ㅁ
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY