how to make a row all zeros in a matrix based on the two random number generated???
1 回表示 (過去 30 日間)
古いコメントを表示
I have 6 matrices namely A,B,C D,E,F and all matrix are of 6*3 order. A is node 1, B -node 2,C-node 3,....F-node6.
Now i have selected two random numbers from 1 to 6. Lets say the outcome is 2 and 6.(it should change for every run)
Now i have to consider node 2 and node 6 i.e B matrix and F matrix. and have to make row 2 of B matrix all zeros and row 6 of F matrix all zeros.
This making of matrix row zeros need to be changed for every run?
How to do this?? please anyone help me in giving some hints.
I
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!