Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

square matrix of order (vector+1 value) formed from a vector and one value?

1 vue (au cours des 30 derniers jours)
Arunachalam  D
Arunachalam D le 4 Août 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by