Display N-dimensional data tables (with color highlighting)

버전 1.7.0.0 (8.02 KB) 작성자: Matt Caywood
Legible display of N-dimensional data tables with color highlighting of entries.
다운로드 수: 1.3K
업데이트 날짜: 2017/4/12

라이선스 보기

DisplayTable offers many more options than Matlab's built-in matrix display functions, when it comes to matrices/tables that are 3+ dimensional.
DisplayTable prints out a space-saving, legible N-dimensional table of numeric data including:
* dimension (row and column) labels and headings
* specified cell spacing and precision
* display dimensions in any order by specifying an output permutation!
* highlight cells with any colors you want, using the cprintf function (also on Matlab Central)! Note: cprintf relies on undocumented Matlab features.

Sample call:

displaytable(rand(5,5),{'1' '2'},{{'C1' 'C2' 'C3' 'I1' 'I2'},{'C1' 'C2' 'C3' 'I1' 'I2'}})

Will display:

1/2 C1 C2 C3 I1 I2
C1 0.76 0.71 0.82 0.44 0.49
C2 0.74 0.03 0.69 0.38 0.45
C3 0.39 0.28 0.32 0.77 0.65
I1 0.66 0.05 0.95 0.80 0.71
I2 0.17 0.10 0.03 0.19 0.75

인용 양식

Matt Caywood (2024). Display N-dimensional data tables (with color highlighting) (https://www.mathworks.com/matlabcentral/fileexchange/27920-display-n-dimensional-data-tables-with-color-highlighting), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Tables에 대해 자세히 알아보기
도움

도움 준 파일: simulate motion in Cartesian MRI

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.7.0.0

improved documentation
updated documentation

1.6.0.0

fix negative zero issue

1.5.0.0

fixed header spacing

1.4.0.0

added color display of tables

1.2.0.0

added option for table permutations

1.1.0.0

Fixed some problems with degenerate tables with dimension values = 1

1.0.0.0