Code covered by the BSD License  

Highlights from
LaTeX table creation.

4.83333

4.8 | 6 ratings Rate this file 17 Downloads (last 30 days) File Size: 4.59 KB File ID: #24387

LaTeX table creation.

by Andrew

 

09 Jun 2009

Function for converting numeric or cell arrays to LaTeX table.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
12 Jun 2009 Sener

good job.. keep it up

16 Sep 2009 Daniel

It is a pretty interesting function, but actually not what i was looking forward. I am trying to find a way to tipe in tex characters as headers of uitable (for GUI).

For example to be able to introduce greek characters as headers of columns and so on. I think that it is only possible to do this for figure right?

It would be awsome if anyone could give me a hand on that. And congratulations for the functions, i just wrote my Thesis with matlab and im sure it will help many other people.

Greets!

26 Sep 2009 Alan  
07 Oct 2009 Tim Fairlow

Works well, thanks!

21 Apr 2010 Niklas

exactly what i was looking for. cheers!

18 Jun 2010 Julien Emile-Geay

Very nice. Much better than matrix2latex.m, because the row and column labels actually work !

20 Sep 2011 Jud  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
latex Andrew 09 Jun 2009 16:07:19
table Andrew 09 Jun 2009 16:07:21
conversion Andrew 09 Jun 2009 16:07:21

Contact us at files@mathworks.com