Description
- Basic Arithmetic
Please calculate the following equation and store to variable z1
I : identity matrix.
- Matrix/Vector We know that
12 34 −4
A = [34 7 87]
3 65 7
1 4 7
B = [2 5 8] 3 6 9
Find
- z2 = A*B,
- z3 = A.*B
- z4 = A^3,
- z5 = A.^3
- z6 = [A([1,3],:);B^2]
- z7 = a vector contains eigenvalues of B
- z8 = determinant of A
- Equation Solving
Solve x1, x2, x3. Then change 0.52 to 0.53 and solve again.
- Loop statement
Please create a 9*9 Hilbert matrix
Reference: https://en.wikipedia.org/wiki/Hilbert_matrix
- Plot
Please plot the following equation in one figure, with eq1 on the left and eq2 on the right. Eq1:
Eq2:



