Related to Frobenius norm

2 views (last 30 days)
chaaru datta
chaaru datta on 22 Oct 2023
Edited: Dyuman Joshi on 22 Oct 2023
Hello all, I am trying to find Frobenius norm of each column of 2 X 500 matrix in MATLAB but not getting it correctly.
Any help in this regard will be highly appreciated.

Answers (1)

Torsten
Torsten on 22 Oct 2023
Moved: Torsten on 22 Oct 2023
From the documentation:
n = norm(X,"fro") returns the Frobenius norm of matrix or array X.
  7 Comments
Torsten
Torsten on 22 Oct 2023
Edited: Torsten on 22 Oct 2023
For complex matrices most probably.
Dyuman Joshi
Dyuman Joshi on 22 Oct 2023
That should be it.
For someone who has worked with real valued data only, it easily escapes my mind that people work with non-real valued data as well.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!