i want to initialize a matrix of 3x3 to value -1 how this colud be done?
1 回表示 (過去 30 日間)
古いコメントを表示
M=zeros(3,3); intialize M with zeros of 3x3 but what to do if i want to initialize it with -1
i.e
-1 -1 -1
-1 -1 -1
-1 -1 -1
can anybody help me
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!