Let's consider a 3x3 matrix as an example.
Let's take the matrix:
A = [1 2 3; 4 5 6; 7 8 9]
Now, open the HTML file in a web browser, enter the matrix elements in the input field (e.g., "1,2,3;4,5,6;7,8,9"), select the norm type, and click the "Calculate Norm" button.
For 1-Norm (sum of absolute values of each column):
∥A∥1 = max{1 + 4 + 7, 2 + 5 + 8, 3 + 6 + 9} = 24
For 2-Norm (square root of the sum of squared elements):
∥A∥2 = √(12 + 22 + 32 + 42 + 52 + 62 + 72 + 82 + 92) ≈ 16.8481
For Infinity-Norm (maximum absolute row sum):
∥A∥∞ = max{1 + 2 + 3, 4 + 5 + 6, 7 + 8 + 9} = 24
Comments
Post a Comment