norm square
조회 수: 38 (최근 30일)
이전 댓글 표시
How to implement equation:
CRE=||Pu||^2
P is a matrix
댓글 수: 0
채택된 답변
Wayne King
2012년 2월 23일
Is Pu a vector resulting from multiplying a vector by a matrix
P = randn(2,2);
u = randn(2,1);
norm(P*u,2)
댓글 수: 1
Jaromir Kabelac
2020년 3월 3일
This is not true.
norm(x, 2)
is the same as
norm(x)
and calculates the 2-norm (or Euclidian norm) of x, which could be denoted as
, or usually just as
.


What you probably want is the square of the norm, hence
norm(x)^2
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!