Clear Filters
Clear Filters

Need help in transpose of triangular fuzzy matrix

1 view (last 30 days)
Eq=[1 1 1];
Wa=[1 2 3];
Nb=[2 3 4];
Pb=[3 4 5];
Gd=[4 5 6];
Fg=[5 6 7];
Vg=[6 7 8];
Ab=[7 8 9];
Pf=[9 9 9];
DM=[Vg Ab Ab Gd Vg;
Pf Wa Wa Vg Vg;
Ab Wa Wa Ab Pf;
Vg Nb Pb Fg Ab;
Vg Wa Pb Vg Vg;
Gd Pb Nb Wa Vg;
Ab Gd Nb Ab Ab;
Ab Vg Ab Gd Pb;]
DM = 8×15
6 7 8 7 8 9 7 8 9 4 5 6 6 7 8 9 9 9 1 2 3 1 2 3 6 7 8 6 7 8 7 8 9 1 2 3 1 2 3 7 8 9 9 9 9 6 7 8 2 3 4 3 4 5 5 6 7 7 8 9 6 7 8 1 2 3 3 4 5 6 7 8 6 7 8 4 5 6 3 4 5 2 3 4 1 2 3 6 7 8 7 8 9 4 5 6 2 3 4 7 8 9 7 8 9 7 8 9 6 7 8 7 8 9 4 5 6 3 4 5
transpose(DM)
ans = 15×8
6 9 7 6 6 4 7 7 7 9 8 7 7 5 8 8 8 9 9 8 8 6 9 9 7 1 1 2 1 3 4 6 8 2 2 3 2 4 5 7 9 3 3 4 3 5 6 8 7 1 1 3 3 2 2 7 8 2 2 4 4 3 3 8 9 3 3 5 5 4 4 9 4 6 7 5 6 1 7 4
%but I want answer as "ANS" which is transpose "DM" if we not open DM in
%numeric form.
ANS=[Vg Pf Ab Vg Vg Gd Ab Ab;
Ab Wa Wa Nb Wa Pb Gd Vg;
Ab Wa Wa Pb Pb Nb Nb Ab;
Gd Vg Ab Fg Vg Wa Ab Gd;
Vg Vg Pf Ab Vg Vg Ab Pb;]

Answers (0)

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!