how to make a row all zeros in a matrix based on the two random number generated???
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!