norm

Matrix and vector norms

📝 Syntaxe

  • R = norm(V)

  • R = norm(V, p)

  • R = norm(V, 'fro')

  • R = norm(M)

  • R = norm(M, 1)

  • R = norm(M, 2)

  • R = norm(M, Inf)

  • R = norm(M, 'fro')

📥 Argument d'entrée

  • M - a 2D matrix single or double

  • V - a vector single or double

  • p - a scalar (p-norm)

📤 Argument de sortie

  • R - result of norm: scalar.

📄 Description

norm computes the norm of a vector or a matrix.

Frobenius norm of M is equal tosqrt (sum (diag (M' * M))) .

💡 Exemples

🔗 Voir aussi

svd.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?