What does it mean by *+ operation
7 ビュー (過去 30 日間)
古いコメントを表示
I found someone using *+ in their code, but I don't know what this operation does. For example,
ones(3,3)*+ones(3,3)
yields a 3*3 matrix whose entries are all 3.
0 件のコメント
回答 (1 件)
Steven Lord
2016 年 6 月 6 日
In this context + is the unary plus. See the help for uplus. Once MATLAB has applied uplus to the second array, it then performs normal matrix multiplication.
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!