How to create a table for CSV-Output from an array and strings?
Show older comments
Hello,
I have an N x N matrix of numerical values. I would like to export them as a .csv-file in such a way, that the table is already "captioned"(?) with text and be automatically input to Latex.
In other words I have this table: '' Label 1 Label 2 Label 3 X 1 2 3 Y 20 30 40
And I would like to save it as a .csv-file. I don't want to create the table manually, but I rather want to have it created automatically based on the size of the (pure numerical) input matrix.
Does anyone know how to do that?
Accepted Answer
More Answers (0)
Categories
Find more on LaTeX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!