The issue I have is on line 12, the interpeter says the matrix is not big enough and I don't know what to do. Can anybody help me? All I want is a hint not the answer

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The issue I have is on line 12, the interpeter says the matrix is not big enough and I don't know what to do. Can anybody help me? All I want is a hint not the answer

■
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 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Input and Output Performance
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education