dispmtx

版本 1.0.0.0 (881 字节) 作者: Aslak Grinsted
Display a matrix in a nicely formatted way.
1.9K 次下载
更新时间 2005/3/29

无许可证

Show the contents of a matrix in a nicely formatted way with headers.

USAGE: dispmtx(M,fmt,colsize,[colhead{:}],[rowread{:}])

Example: dispmtx(randn(3,2),'%.2f',7,{'c1' 'c2'},{'r1' 'r2' 'r3'})

Warning: not fast...

Aslak Grinsted apr2004

EXAMPLE:

>> dispmtx(randn(3,2),'%.2f',7,{'c1' 'c2'},{'r1' 'r2' 'r3'})
c1 c2
r1 1.19 0.17
r2 -0.04 -0.19
r3 0.33 0.73
>>

引用格式

Aslak Grinsted (2025). dispmtx (https://ww2.mathworks.cn/matlabcentral/fileexchange/5729-dispmtx), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Made fmt and colsize optional arguments.