I keep getting 0 of 7 tests passed.

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 keep getting 0 of 7 tests passed.

2.3 MATLAB: Matrix Operations
219530.1170258
LAB
2.3.1: MATLAB: Matrix Operations
This tool is provided by a third party. Though your activity may be
recorded, a page refresh may be needed to fill the banner.
0/1
АСTIVITY
MATLAB: Matrix Operations
%In this activity you will utilize MATLAB to evaluate sums, differences, scalar
%products, and products of matrices.
*Create the matrices A and B.
A = [2 1; 0 -4]
B = [1 -1; 3 2]
SWARNING: Matrix operations are only possible on matrices of the appropriate sizes.
Find the sum of A and B.
A + B
%Find the difference of A and B.
A - B
%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.
[-2 0 3
1
1
2
A =
=
B =1 3 1
C =
|-1 -2 3
01 -1]
-1
Script o
A Save
C Reset
E MATLAB Documentation
1 A = [ 10 -1 ; 21 -5; 1 -1 0];
2
3 format rat
4
5 AugA= [A, eye(3)]
6
7 (rowreducedAugA, pivotvarsAugA] = rref(AugA)
8
9 Ainv1= rowreducedAugA(:,4:6)
10
11 Ainv2=inv (A)
Run Script
Previous Assessment: 0 of 7 Tests Passed
Submit
* Matrix A is correct
Variable A must be of size [2 3]. It is currently of size [3 3]. Check where the variabl Screenshot
Transcribed Image Text:2.3 MATLAB: Matrix Operations 219530.1170258 LAB 2.3.1: MATLAB: Matrix Operations This tool is provided by a third party. Though your activity may be recorded, a page refresh may be needed to fill the banner. 0/1 АСTIVITY MATLAB: Matrix Operations %In this activity you will utilize MATLAB to evaluate sums, differences, scalar %products, and products of matrices. *Create the matrices A and B. A = [2 1; 0 -4] B = [1 -1; 3 2] SWARNING: Matrix operations are only possible on matrices of the appropriate sizes. Find the sum of A and B. A + B %Find the difference of A and B. A - B %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. [-2 0 3 1 1 2 A = = B =1 3 1 C = |-1 -2 3 01 -1] -1 Script o A Save C Reset E MATLAB Documentation 1 A = [ 10 -1 ; 21 -5; 1 -1 0]; 2 3 format rat 4 5 AugA= [A, eye(3)] 6 7 (rowreducedAugA, pivotvarsAugA] = rref(AugA) 8 9 Ainv1= rowreducedAugA(:,4:6) 10 11 Ainv2=inv (A) Run Script Previous Assessment: 0 of 7 Tests Passed Submit * Matrix A is correct Variable A must be of size [2 3]. It is currently of size [3 3]. Check where the variabl Screenshot
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Avoiding deadlock
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.
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