COMMATA(X) displays the contents of matrix X in the command window as a table.
Updated 2 May 2016

View License

COMMATA(X) displays the contents of matrix X (real elements only)in the Command Window as a table (tab-separated string with precision %13.6e). After highlighting the data it can transferred to a spreadsheet using copy and paste.

The point as decimal separator is replaced by a comma to match the decimal convention in Germany. Thereby removing the need to change the country settings.

Note: See 'table.m' for a version of this M-File which uses a dot as the decimal separator.

The file was tested under Matlab 4.2 and 5.1.

Cite As

Stefan Baunack (2024). commata (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Tables in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

2016-05-02 Licensing