Parses a matrix of pairwise comparisons into a string.
版本 1.1.0.0 (1.4 KB) 作者:
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'
引用格式
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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Graph and Network Algorithms >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
在 Help Center 和 MATLAB Answers 中查找有关 Graph and Network Algorithms 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.1.0.0 | . |
||
1.0.0.0 |
|