✓ D21 zy M b + C D21 Login Southern N... https://learn.zybooks.com/zybook/MAT-350-J6466-OL-TRAD-UG.22EW6/chapter/2/section/3 The Chop Shop | Bu... =zyBooks My library > MAT 350: Linear Algebra home > 2.3: MATLAB: Matrix Operations Arand της scazar product of 2 times A. 2*A XFind the product of A and B. A"B Type here to search Use the following matrices for this activity. [-203] A= SNHU Bookstore Script 5 6 [ 20 -2 3 7 B= 13 1 zy Section 2.3- MAT 350: Linear Algebra Lo 0 1 %Create the matrices A, B, and C. 2A [1 2 0; -1 -2 3] 38 4C C-69 C= O 8 Find the scalar product of 2 times A. Store this product in Ans1. 9 Ans1 2 A [-203; 13 1; 0 1 -1] [31; 2 -1; -10] WARNING: Matrix operations are only possible using matrices of the appropriate sizes. BI Save 10 11 Find the product of A and B. Store this product in Ans2. 12 Ans2 AB 13 14 Use the appropriate identity matrix to find the sum of Ans2 and AI. Store this product in Ans3. 15 Ans3 Ans2 A 16 C Reset 17 Use the appropriate identity matrix to find CI minus 2 times the transpose of Ans2. Store 18 %this product in Ans4. 19 Ans4 C-2" ((Ans2)) % I need help here. I don't have this last line right.| 20 [ EPIC MATLAB Documentation ▶ Run Script A Q 6 OEU zyBooks catalog Ⓒ X Other favorites Help/FAQ e Michael Pagano - 12:44 AM 7/12/2022 U

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

I need help on line 19, that lab is part of matlab and I don't know what to do 

←
D2L
(t
zy
M
b
+
https://learn.zybooks.com/zybook/MAT-350-J6466-OL-TRAD-UG.22EW6/chapter/2/section/3
D21 Login Southern N...
The Chop Shop | Bu...
Type here to search
SNHU Bookstore
=zyBooks My library > MAT 350: Linear Algebra home > 2.3: MATLAB: Matrix Operations
%Find the scalar product of 2 times A.
2*A
%Find the product of A and B.
A*B
Use the following matrices for this activity.
-20 3
13 1
0 1 -1
A =
20
-1 -2
Script
zy Section 2.3 - MAT 350: Linear Algebra
B=
C =
2
발
-1
0
1 %Create the matrices A, B, and C.
2 A = [1 2 0; -1 -2 3]
3 B = [-203; 1 3 1; 0 1 -1]
4 C = [3 1; 2 -1; -1 0]
5
6 %WARNING: Matrix operations are only possible using matrices of the appropriate sizes.
7
8 %Find the scalar product of 2 times A. Store this product in Ans1.
9 Ans1 = 2 * A
10
11 %Find the product of A and B. Store this product in Ans2.
12 Ans2 = A * B
13
Save C Reset
14 %Use the appropriate identity matrix to find the sum of Ans2 and AI. Store this product in Ans3.
15 Ans3 = Ans2 + A
16
17 %Use the appropriate identity matrix to find CI minus 2 times the transpose of Ans2. Store
18 %this product in Ans4.
19 Ans4 = C-2* ((Ans2 ) ) % I need help here. I don't have this last line right.|
20
EPIC
GAMES
C
MATLAB Documentation
▶ Run Script
K
EzyBooks catalog ? Help/FAQ
1031
T
X
:
Other favorites
12:44 AM
7/12/2022
Michael Pagano
Transcribed Image Text:← D2L (t zy M b + https://learn.zybooks.com/zybook/MAT-350-J6466-OL-TRAD-UG.22EW6/chapter/2/section/3 D21 Login Southern N... The Chop Shop | Bu... Type here to search SNHU Bookstore =zyBooks My library > MAT 350: Linear Algebra home > 2.3: MATLAB: Matrix Operations %Find the scalar product of 2 times A. 2*A %Find the product of A and B. A*B Use the following matrices for this activity. -20 3 13 1 0 1 -1 A = 20 -1 -2 Script zy Section 2.3 - MAT 350: Linear Algebra B= C = 2 발 -1 0 1 %Create the matrices A, B, and C. 2 A = [1 2 0; -1 -2 3] 3 B = [-203; 1 3 1; 0 1 -1] 4 C = [3 1; 2 -1; -1 0] 5 6 %WARNING: Matrix operations are only possible using matrices of the appropriate sizes. 7 8 %Find the scalar product of 2 times A. Store this product in Ans1. 9 Ans1 = 2 * A 10 11 %Find the product of A and B. Store this product in Ans2. 12 Ans2 = A * B 13 Save C Reset 14 %Use the appropriate identity matrix to find the sum of Ans2 and AI. Store this product in Ans3. 15 Ans3 = Ans2 + A 16 17 %Use the appropriate identity matrix to find CI minus 2 times the transpose of Ans2. Store 18 %this product in Ans4. 19 Ans4 = C-2* ((Ans2 ) ) % I need help here. I don't have this last line right.| 20 EPIC GAMES C MATLAB Documentation ▶ Run Script K EzyBooks catalog ? Help/FAQ 1031 T X : Other favorites 12:44 AM 7/12/2022 Michael Pagano
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 7 images

Blurred answer
Knowledge Booster
System Management Strategies
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
  • SEE MORE 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