dispmtx

Display a matrix in a nicely formatted way.
1,9K Downloads
Aktualisiert 29. Mär 2005

Keine Lizenz

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
>>

Zitieren als

Aslak Grinsted (2025). dispmtx (https://de.mathworks.com/matlabcentral/fileexchange/5729-dispmtx), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R13
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Tables finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Made fmt and colsize optional arguments.