MAT350 7.3 MATLAB: Norms and Distances
Consider the column vector v. The norm() command is used to find the Euclidean norm, the 4-norm, and the infinity-norm.
v = [-4; 3]
two_norm = norm(v, 2)
four_norm = norm(v, 4)
infinity_norm = norm(v, Inf)
Consider the matrix A. The norm() command is used to find the Frobenius norm.
A = [1/sqrt(6) 0; -2/sqrt(6) 1/sqrt(6)]
fro_norm = norm(A, ‘fro’)
Use the following vectors and matrices for this activity.
u = [ 4 ] , v = [ -4 ] , A = [ 3 -7 4 3 ] , B = [ 1 -7 2 5 ]
3 -12 -2 4 -5 0 0 0 -5 2
To find the
Note: Full answer to this question is available after purchase.
Reviews
There are no reviews yet.