 # ENGR 328 Computational Methods in Engineering HW Anonymous
timer Asked: Feb 23rd, 2019
account_balance_wallet \$30

### Question Description

hi

how are you

homework by MATLAB CODE

if you need anything just text me

thanks

Super_Teach12
School: Duke University   Hi, here is your assignment :) Together with the m files :)

ENGR 328 Homework 5
1. A number of matrices are defined as:

%
%
%
%
%

Answer the following questions regarding these matrices:
(a) What are the dimensions of the matrices?
(b) Identify the square matrices, column vectors, and row vectors.
(c) What are the values of the elements: a12, b23, d32, e22, f12, g12?
(d) Perform the following operations:

A. Code:
(a) What are the dimensions of the matrices?
A = [4 7; 1 2; 5 6]
[m,n] = size(A)
Output:

B. Code:
%B. Identify the square matrices, column vectors, and row
vectors.
%
Square matrix are those with equal number of rows and
columns
%
Below is code for checking square matrix A = [4 7; 1 2; 5 6]
[m,n] = size(A)
if m == n
disp('A is square matrix');
else
disp('A is not a square matrix');
end
B = [4 3 7; 1 2 7; 2 0 4]
[m,n] = size(B)
if m==n
disp('B is square matrix');
else
disp('B is not square matrix');
end
Output:

C. Code:
% c) What are the values of the elements: a12, b23, d32, e22,
f12, g12?
A = [4 7; 1 2; 5 6]
[m,n] = size(A)
A(1,2)
B=[4 3 7;1 2 7;2 0 4]
B(2,3)
D=[9 4 3 -6;2 -1 7 5]
D(3,2)
Output:

D. Code:

Output:
B=
4

3

7

1

2

7

2

0

4

9

4

3

-6

2

-1

7

5

1

5

8

7

2

3

4

0

6

C=
3
6
1
D=

E=

ans =
5

8 15

8

...

flag Report DMCA  Review Anonymous
Tutor went the extra mile to help me with this essay. Citations were a bit shaky but I appreciated how well he handled APA styles and how ok he was to change them even though I didnt specify. Got a B+ which is believable and acceptable. Brown University

1271 Tutors California Institute of Technology

2131 Tutors Carnegie Mellon University

982 Tutors Columbia University

1256 Tutors Dartmouth University

2113 Tutors Emory University

2279 Tutors Harvard University

599 Tutors Massachusetts Institute of Technology

2319 Tutors New York University

1645 Tutors Notre Dam University

1911 Tutors Oklahoma University

2122 Tutors Pennsylvania State University

932 Tutors Princeton University

1211 Tutors Stanford University

983 Tutors University of California

1282 Tutors Oxford University

123 Tutors Yale University

2325 Tutors