Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Funções Elementares > Matrix operations > norm

norm

norma de matrizes

Seqüência de Chamamento

[y]=norm(x [,flag])

Parâmetros

x

vetor ou matriz de reais ou complexos (armazenamento cheio ou esparso)

flag

string (tipo da norma) (valor padrão = 2)

Descrição

For matrices

norm(x)

ou norm(x,2) é o maior valor singular de x (max(svd(x))).

norm(x,1)

a norma l_1 de x (a maior soma coluna a coluna : max(sum(abs(x),'r')) ).

norm(x,'inf'),norm(x,%inf)

a norma infinitesimal de x (a maior soma linha a linha : max(sum(abs(x),'c')) ).

norm(x,'fro')

norma de Frobenius i.e. sqrt(sum(diag(x'*x)))

Para vetores

norm(v,p)

norma l_p (sum(v(i)^p))^(1/p) .

norm(v)

=norm(v,2) : norma l_2

norm(v,'inf')

max(abs(v(i))).

Exemplos

A=[1,2,3];
norm(A,1)
norm(A,'inf')
A=[1,2;3,4]
max(svd(A))-norm(A)

A=sparse([1 0 0 33 -1])
norm(A)

Ver Também

  • h_norm — H-infinity norm
  • dhnorm — discrete H-infinity norm
  • h2norm — H2 norm of a continuous time proper dynamical system
  • abs — valor absoluto, magnitude
Report an issue
<< min Matrix operations prod >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:18:11 CEST 2014