Parses a matrix of pairwise comparisons into a string.
Version 1.1.0.0 (1,42 KB) von
Wei-Rong Chen
This function parses a matrix of pairwise comparisons into a string.
This function parses a matrix of pairwise comparisons into a string.
Example:
inputM = [ 0 1 1; 0 0 1; 0 0 0]
% >> inputM =
0 1 1
0 0 1
0 0 0
elements = {'a', 'b', 'c'};
outStr=PairwiseCompareMatrix2Str(inputM, elements)
>> outStr =
'a>b,c; b>c'
Zitieren als
Wei-Rong Chen (2024). Parses a matrix of pairwise comparisons into a string. (https://www.mathworks.com/matlabcentral/fileexchange/50540-parses-a-matrix-of-pairwise-comparisons-into-a-string), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Graph and Network Algorithms >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
Mehr zu Graph and Network Algorithms finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | . |
||
1.0.0.0 |
|