Info
This question is closed. Reopen it to edit or answer.
square matrix of order (vector+1 value) formed from a vector and one value?
1 view (last 30 days)
Show older comments
square matrix of 4X4 should be formed from the vector [1 2 3]
i have a value to form four different combination eg. (value=0)
square matrix should be like this so the value 0 added on the diagonals
[1,2,3,0;1,2,0,3;1,0,2,3;0,1,2,3]; help me to code this by suitable logics
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!