File Exchange

image thumbnail

LaTeX table creation.

version 1.0.0.0 (4.59 KB) by Andrew
Function for converting numeric or cell arrays to LaTeX table.

3.2K Downloads

Updated 09 Jun 2009

View License

This function was designed to be tool for converting MATLAB 2D arrays into a LaTeX tabular environment. It includes the ability to add horizontal and vertical labels, alter the data format, insert horizontal and vertical lines, as well as load and save settings.

Information regarding operate the function are contained in the comments, but here is a quick example:
>> latextable(rand(3,3),'Horiz',{'1','2','3'},'Hline',[0,1,NaN]);

I hope this function is useful for some people. I am sure there are probably a few bugs, so please let me know if you find any problems.

Cite As

Andrew (2021). LaTeX table creation. (https://www.mathworks.com/matlabcentral/fileexchange/24387-latex-table-creation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!