This Study Resource Was: Name: Section
This Study Resource Was: Name: Section
m
er as
co
eH w
o.
Matrix3 = [sqrt(2)*ones(3)]
rs e
ou urc
o
aC s
vi y re
B. In MATLAB enter the following matrices use appropriate format. Write your syntax in the space provided.
ed d
ar stu
is
MATLAB Syntax
Th
This study source was downloaded by 100000834077335 from CourseHero.com on 10-21-2021 03:42:44 GMT -05:00
https://www.coursehero.com/file/76568166/MATLAB-ACTIVITY-2doc/
Using MATLAB commands and the Matrices in above compute the following expressions if possible.
Write the MATLAB SYNTAX you used and MATLAB out put on the space provided
1. Product of A and C
9/ 2 9/4 15 / 4
19 / 12 3 / 2
MATLAB OUTPUT: 11 / 12
29 / 30 7 / 12 19 / 20
MATLAB SYNTAX:A+C’
5 3/ 2
9 / 4
MATLAB OUTPUT: 19 / 12
49 / 20 19 / 6
m
er as
3. Six times of transpose of A subtracted to Twice C multiplied to transpose of B
co
eH w
MATLAB SYNTAX: 6*A’-2*C*B’
o.
rs e
MATLAB OUTPUT: Error using *. Incorrect dimensions for matrix multiplication. Check that the
ou urc
number of columns in the first matrix matches the number of rows in the
second matrix. To perform element wise multiplication. Use ‘.*’.
o
4. Sum of the product of A and its transpose and the product of C and its transpose.
aC s
5. Product of A and B
ar stu
MATLAB OUTPUT: Error using *. Incorrect dimensions for matrix multiplication. Check that the
is
number of columns in the first matrix matches the number of rows in the
Th
This study source was downloaded by 100000834077335 from CourseHero.com on 10-21-2021 03:42:44 GMT -05:00
https://www.coursehero.com/file/76568166/MATLAB-ACTIVITY-2doc/
Powered by TCPDF (www.tcpdf.org)