what mean normr in matlab??
조회 수: 6 (최근 30일)
이전 댓글 표시
채택된 답변
Wayne King
2013년 3월 2일
편집: Wayne King
2013년 3월 2일
That is a function in the Neural Network Toolbox that normalizes the rows of the matrix to have l2 norm.
For example:
X = randn(10,4);
Y = normr(X);
Now if you check:
for kk = 1:size(Y,1)
norm(Y(kk,:),2)
end
They all have unit norm.
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!