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!