0% found this document useful (0 votes)
5 views1 page

MATLAB Matrix Operations and Equations

The document outlines tasks to be performed in MATLAB involving two matrices A and B, including element access, size and value calculations, and matrix operations such as addition and multiplication. It also includes a system of linear equations that needs to be solved for three unknowns. The tasks require basic matrix manipulations and solving linear equations.

Uploaded by

mcocmaster13
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

MATLAB Matrix Operations and Equations

The document outlines tasks to be performed in MATLAB involving two matrices A and B, including element access, size and value calculations, and matrix operations such as addition and multiplication. It also includes a system of linear equations that needs to be solved for three unknowns. The tasks require basic matrix manipulations and solving linear equations.

Uploaded by

mcocmaster13
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1.

Create the following matrices in MATLAB and determine the requested properties:

2 4 6 1 1
𝐴 = [ 8 10 12] , 𝐵 = [1 1]
14 16 18 1 1

a) Access the element in row 2, column 2 of matrix A


b) Access the second column of matrix B
c) Find the size, maximum value, and minimum value of matrix A
d) Perform addition, subtraction, multiplication, and division between matrices A
and B (where applicable)
e) Flip matrix A left-to-right and matrix B up-to-down

2. Solve the following system of linear equations with three unknowns (𝑥1, 𝑥2, 𝑥3):

3𝑥1 + 2𝑥2 − 𝑥3 = 10
−𝑥1 + 3𝑥2 + 2𝑥3 = 5
𝑥1 − 𝑥2 − 𝑥3 = −1

You might also like