# latexTable
This MATLAB function converts matrices, cells or tables from MATLAB to LaTeX table code. It is easy to use and very flexible:
- takes MATLAB matrices, cells or tables as input
- gives code for a LaTeX table containing your data as output
- handles numeric and text/string data
- easy including in your code for automation
- easy direct saving as a LaTex document (see example 2 in runExamples.m)
Optional features are:
- table positioning
- column/row labels
- column/row-wise formatting (like setting the number of digits etc.)
- pivoting the table (90 degree rotation making columns rows and vice versa)
- setting the default symbol for NaN values
- LaTeX column alignment
- LaTeX table borders, caption, label
- Use of the booktabs latex package
- output a complete LaTeX document instead of a plain table
![alt tag](https://cloud.githubusercontent.com/assets/12258734/13790805/724c99e0-eaea-11e5-8cb7-fc73122dd84d.png)
The workflow is straightforward. Here is a little example:
1. set up the input struct:
`input.data=[1,3;4,2];`
2. call the function:
`latexTable(input)`
3. copy&paste the generated LaTex code into your favourite LaTex editor
For further details and examples can be found in latexTable.m and runExamples.m or visit the [release page at the MathWorks File Exchange] (http://www.mathworks.com/matlabcentral/fileexchange/44274-latextable).
MATLAB设计_将矩阵、单元格和MATLAB表转换为LaTex表代码.zip
版权申诉
129 浏览量
2024-02-17
15:53:21
上传
评论
收藏 7KB ZIP 举报
Nowl
- 粉丝: 1w+
- 资源: 3891
最新资源
- 基于新唐N76E003单片机SPI接口配置为SPI-Master+Slave 模式软件例程源码.zip
- android开发期末大作业基于Androidstudio的医疗系统app源码(高分项目).zip
- assets_e4b6f25e1c38b56b464c56c31c1a361d.mp4
- 基于Android studio设计的图书借阅管理系统APP期末大作业(高分项目).zip
- 安卓期末大作业-音乐播放器App-AndroidStudio开发(高分项目)
- 行人重识别-用于行人重识别的稀疏标签平滑正则化优化-附项目源码+流程教程-优质项目实战.zip
- Python绘图艺术.zip
- 安卓期末大作业(AndroidStudio开发),记事本app源码(高分项目).zip
- 安卓期末大作业Androidstudio-记事本app源码(95分以上).zip
- Java数据结构实现之Queue.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈