Output a matrix in LaTeX format.
This file will output a MATLAB numeric matrix in a format suitable to paste into a LaTeX tabular environment. You can choose whether to individually cast each element in math mode (you wouldn't want
- 7.7K (All time)
- 3 (Last 30 days)
- 4.9 / 5
- Community
-
17 Dec 2002
MATLAB Table to LaTeX conversor
This function converts a MATLAB(R) table into a .tex file, using LaTeX formatting.
The function table2latex(T, filename) formats a MATLAB table (T) into a .tex file (specified by the filename path), following the LaTeX formatting. Please, avoid using cells or structs inside the
- 6.4K (All time)
- 14 (Last 30 days)
- 4.9 / 5
- Community
-
22 Oct 2018
Using full Latex markup in m-files to generate high quality documentation. Version 1.3
Publish2LatexVersion V1.3A new conversion of figures to eps has been implemented. This automatically selects the best renderer depending on the nature of the data on the axis of the figure. It
- 1.4K (All time)
- 12 (Last 30 days)
- 5.0 / 5
- Community
-
31 Jul 2013
Exports a figure as a pdf file in vector format for inclusion into LaTeX.
PLOT2LATEX saves a Matlab figure as a pdf file in vector format for inclusion into LaTeX. Requires free and open-source vector graphics editor Inkscape. It invokes Inkscape to save the text, labels
- 4.9K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
20 Apr 2016
Library to write Matlab variables into LaTeX
Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.
Title: Matlab to LaTeX LibrarySummary: Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.Description: My library of functions to handle with the creation
- 723 (All time)
- 15 (Last 30 days)
- 4.3 / 5
- Community
-
4 Sep 2024
Function for converting numeric or cell arrays to LaTeX table.
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
- 3.2K (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
9 Jun 2009
This code converts standard Matlab figures into Latex style with one click.
It is a well written matlab code for converting normal plots into good looking latex plots. It will work for multiple axes in a single figure at a time.just call this function after the plot
- 99 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
31 Dec 2024
Easily include nicely syntax highlighted m-code in your LaTeX documents.
hassle — just include it and you're done.I originally wrote this package for myself to have colourful source code highlighted in LaTeX, looking exactly like in the Matlab editor — being able to just
- 160.2K (All time)
- 38 (Last 30 days)
- 4.9 / 5
- Community
-
11 Nov 2015
TABLE2LATEX converts a table to the tabular form for use in LaTeX.
table2latex converts a table to the tabular form for use in LaTeX.Input argsT: a table of elementsselectedCols: index vector of table columns that need to beprinted. Default: All columns.label: the
- 597 (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
16 Jul 2024
Online portfolio selection with transaction costs including market impact costs
Performance comparison among quantitative investment strategies
- 509 (All time)
- 11 (Last 30 days)
- 5.0 / 5
- Community
-
12 Jul 2017
MATLAB array to LaTeX table converter.
This function converts an MATLAB 2-dimensional array (matrix) which can be numerical or a cell array, into proper formated LaTeX code. The result will be a file that can be included into any LaTeX
- 24.3K (All time)
- 2 (Last 30 days)
- 4.7 / 5
- Community
-
17 May 2004
This function converts a Matlab legend to a text annotation for latex interpretation.
LEGEND2LATEX(FIGURE_HANDLE) Converts the present legends in the figure to legends that can be postprocessed using LaPrint.Note that all earlier legend2latex objects are removed.Can convert several
- 2.4K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Nov 2009
Converts matrices, cells and MATLAB tables to LaTex table code. Allows format,pivot,col/row headers.
Converts matrices, cells or MATLAB tables to LaTeX table code. Easy to use and very flexible:- takes MATLAB matrices, cells or tables as input- gives code for a LaTeX table containing your data as
- 18.4K (All time)
- 8 (Last 30 days)
- 4.8 / 5
- Community
-
25 Aug 2016
This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document.
This file lets you very easy INCLUDE COLORED M-CODE in your LaTeX-file.After you run this m-file "m2tex.m" and inlcude the output tex-file in your LaTeX document, you will experience NO DIFFERENCE IN
- 12.3K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
12 Sep 2012
Converts a displayed figure to latex .tex format. The code can handle zoomed in plots
Create your 2D, multiple axes plot, and then convert it to a LaTeX .tex file. Then, include the .tex file in your thesis or paper using pstricks. The code uses the data contained in the figure
- 4.2K (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
2 Oct 2007
Matlab matrix to LaTeX conversion example
Script showing a simple way to convert a MATLAB numeric matrix to LaTeX.
This script shows a simple way to convert a MATLAB numeric matrix to a LaTeX matrix. In the script, choose matrix to convert and output formatting. The resulting LaTeX matrix is printed in the
- 839 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 Oct 2020
Modern Control Latex Project Writer
Apply modern control techniques to any SISO system and generate a step by step solution in latex format.
Check out this overleaf link to observe the CAPABILITIES of this function:https://www.overleaf.com/read/hchfzvzhxjkdThis fucntion generates fully compitable latex code.It used to solve in a step-wise
- 109 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
23 Dec 2019
func_latex_table(filename,format,M,V,C)
func_latex_table(filename,format,M,V,C)
%--------------------------------------------------------------------------% func_latex_table(filename,format,M,V,C)% This version onlly works on Matlab 2016a and later % % filename = must be a
- 31 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
17 Nov 2017
Fishing out figures used by LaTeX document
How to copy all figures used by the master LaTeX document to a separate folder.
If you are working on a big LaTeX document (e.g. a handbook) and your folder containing figures is getting messier and messier, this m-script may help you. A minimal working example (MWE) is included.
- 189 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Aug 2015
Data Uncertainty Format for LaTeX Table
The function ErrVec(dat, err) creates a cell array of inputted data and its uncertainty with standard error notation in LaTeX format.
Given a set of data together with its error, this program will create a cell array that consists of strings of corresponding data with its uncertainty in the standard uncertainty notation in LaTeX
- 24 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
12 Jan 2021
fig2texPS - Export Matlab Figure to LaTeX
V053 - Conversion of a Matlab figure to a LaTeX file with PSTricks compatible macros
file to be included in a larger document. The LaTeX packages pstricks, pst-node, pst-plot, pst-circ and moredefs are required. An minimal example latex code is generated at each time this script is run
- 7.6K (All time)
- 2 (Last 30 days)
- 4.6 / 5
- Community
-
3 Nov 2010
Generates latex table code for regression and other output useful for journal articles.
Function outreg_latex.m written byRob HicksDepartment of EconomicsThe College of William and MaryThis function is an implementation of some of the features of the ado routines outreg and outreg2
- 977 (All time)
- 1 (Last 30 days)
- 3.8 / 5
- Community
-
5 Feb 2014
This function extends the capabilities of the plot function in Matlab and enhances the visual output of a basic plot.
- 56 (All time)
- 13 (Last 30 days)
- 5.0 / 5
- Community
-
1 Apr 2023
Set of functions to generate nice PDF reports from MATLAB code.
The idea behind Report to Latex is to be able to create documents (e.g. test reports) from Matlab. Many other MATLAB/LATEX related scripts and functions focus on the documentation of MATLAB code. R2L
- 449 (All time)
- 15 (Last 30 days)
- 5.0 / 5
- Community
-
3 Jan 2018
Converts a displayed surface plot to LaTeX .tex format
Create your simple surface plot, and then automatically generate the LaTeX file. This is my first attempt, so it will not handle all of the possible surface plots.If you want to adjust the file
- 1.6K (All time)
- 2 (Last 30 days)
- 4.0 / 5
- Community
-
28 Nov 2006
Resizing Matlab plots for publication purposes (LaTeX)
This function will resize the plot to the proper size based on the figure width and font size.
latex_fig.m is the function file which will automatically adjust the plot size according to the specification: font_size and f_width. It will save your time on tuning font size and figure window
- 1.4K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
30 Apr 2012
- 2.7K (All time)
- 15 (Last 30 days)
- 5.0 / 5
- Community
-
29 Feb 2024
Huygens-Fresnel integral approximation on the GPU
Simulate electromagnetic wave propagation through free-form apertures, or off rough surfaces. Speed up the computation by using the GPU.
- 1.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
23 Oct 2020
- 700 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
11 Mar 2022
Make Inkscape PostScript files compatible with psfrag in LaTeX
eps files exported with Inkscape cannot be used with psfrag.
[<010203>-1<0405>-1<06>-1<07>1<08>129<090a06>]TJ and replaces them by strings of the form (int)Tj, where int is a number 1,2,3, ...Finally you can use \psfrag{int}{your latex expression} in LaTeX.This function is a modification of the function
- 857 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
8 Dec 2010
A function to convert matlab functions to formatted colored .tex files .
m2tex converts a matlab file into a colored, tabbed .m file will all of the proper symbols converted to be latex compatible.The latex files it produces can easily be included in other files by using
- 11.6K (All time)
- 2 (Last 30 days)
- 4.3 / 5
- Community
-
11 Dec 2006
Calibration Method for the Schwartz-Smith Model
A Kalman Smoother Expectation Maximization Procedure
- 1.7K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
16 Dec 2010
Matlab mesh to PDF with 3D interactive object
Export triangulated mesh into a pdf with a 3D interactive object.
- 10K (All time)
- 14 (Last 30 days)
- 4.6 / 5
- Community
-
10 Jan 2010
Export from Live Script into LaTeX Improvement
The improvement concerns the modification of the matlab.sty file that is created during export phase.
Live Script document is possible to export into several formats (PDF, Word, HTML, LaTeX). Actually the form of automatic LaTeX export does not match the Matlab-language syntax highlighting, and it
- 473 (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
25 Nov 2019
store data in a table format that supports printing in plain text, Latex, HTML, Wiki,...
DataTable objects are used to store data in a table format that is easily expandable, manipulatable and that supports printing in a variety of formats (plain text, Latex, HTML, Wiki; new printing
- 3.1K (All time)
- 12 (Last 30 days)
- 4.8 / 5
- Community
-
17 Aug 2009
LaTeX image object for using LaTeX packges not supported by the builtin LaTeX text interpreter
LaTeX support provided by the MATLAB Graphics engine is limited at a time, especially to add complex equations on a figure. lateximage creates an image object which behaves like a text object with
- 424 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 Nov 2015
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.
current directory, for example). b. Make sure that your LaTeX installation includes the packagesTikZ (aka PGF, >=2.00) andPgfplots (>=1.3).Generate your plot in MATLAB.Invoke matlab2tikz by```>>
- 128.7K (All time)
- 125 (Last 30 days)
- 4.8 / 5
- Community
-
16 Jul 2024
livescript2markdown: MATLAB's live scripts to markdown
MATLAB's live scripts to markdown. The provided function converts your latex (generated from a live script) to markdown so that it could eas
small document (in Japanese) on how to use export to convert livescripts to markdown.NOTE (2020/02/10)When exporting to LaTeX right after running the livescript, it's observed that the figures will be
- 601 (All time)
- 10 (Last 30 days)
- 5.0 / 5
- Community
-
15 Sep 2023
Given a value, array, equation or array of equations. This program will output to a figure of desir
figure size. Current limitation is due to the maximum latex output length of 1300 characters.
- 2K (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
5 Jan 2007
- 5K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
29 Feb 2012
Discrete Orthogonal Polynomial Toolbox: DOPBox Version 1.8
A toolbox for discrete orthogonal polynomials and their applications to fitting, ODEs etc.
- 4.5K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
4 Mar 2014
uibutton: GUI pushbuttons with better labels
Creates pushbutton uicontrol labeled with TeX or LaTeX strings.
easy to use as it accepts all the same arguments as uicontrol with the addition of the Interpreter property which you can set to 'tex' or 'latex' and the Rotation property to set the angle of rotation of
- 11.3K (All time)
- 11 (Last 30 days)
- 4.8 / 5
- Community
-
5 Nov 2010
latextableassist - simple GUI to make formatted LaTeX tables from arrays
A simple GUI function that takes a 2D array and based on user specifications writes a LaTeX table.
Takes a 2D array and writes a formatted LaTeX table. Meant to take the tedium out of exporting your results to your published work. It allows you to enter column headings, which may span multiple
- 396 (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
15 Sep 2011
Convert m-files (or code in general) to LaTeX input that numbers lines, etc.
This function was written specifically for importing algorithms quickly into LaTeX with little user interaction. It automatically numbers each line and maintains indenting. The user can optionally
- 2.3K (All time)
- 14 (Last 30 days)
- 3.5 / 5
- Community
-
5 Nov 2004
Export figure to 3D interactive PDF
Export figure as U3D file or directly to 3D interactive graphics within PDF.
FIG2U3D saves the figure as a U3D file for inclusion as an interactive 3-dimensional figure within a PDF. Either LaTeX or Adobe Acrobat can be used to embed the U3D file in the PDF.Development and
- 10.8K (All time)
- 10 (Last 30 days)
- 4.2 / 5
- Community
-
4 Aug 2021
Convert augmented matrix to Latex linear system in Latex
This code converts a MATLAB matrix to a linear system in Latex
This code convertes a MATLAB matrix to a linear system in Latex format from an augmented matrix AYou need to use \usepackage{amsmath,systeme}It's built on the code matrix2latex.m by Lu Ce
- 5 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
30 Mar 2023
Fuzzy Relational Calculus Toolbox, Rel.1.01
The toolbox provides functions and original algorithms for solving direct and inverse problems.
- 4.2K (All time)
- 1 (Last 30 days)
- 3.8 / 5
- Community
-
2 Sep 2010
forms a latex string representing the matrix or vector
you simply have to give the variable as the only one parameter and the result will be latex code to be used in math environment with the help of the amsmath commands bmatrix or pmatrix for vectors or
- 994 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
19 Apr 2007
Displays a LaTeX string as an image.
If you have LaTeX already installed, this function will convert LaTeX strings into images and display them in figures.
- 11K (All time)
- 13 (Last 30 days)
- 4.7 / 5
- Community
-
1 Sep 2016
Export data to latex table
This function exports MATLAB array (numerical or a cell array) to LaTeX enviroment tabularx.The results it's printed to the command window and/or can be saved to a file.You may choose table width
- 1.9K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
17 Jun 2008
- 507 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
27 Mar 2024
Generate the latex code for any numerical 2D matrix
The function displays the latex code for any numerical 2D matrix on the command window.INPUTS:M: The numerical matrix to be converted to latexfrmt (Optional): The text formatting speciffier. (Default
- 19 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
12 Sep 2023
Create regression output for latex
reg2latexDescriptionThe function reg2latex creates a .tex file from a linear model in Matlab. The function allows for multiple model inputs and to format your own regression output. If you use other
- 145 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
24 Sep 2022
Translate LaTeX to MATLAB with ChatGPT
This script illustrates the translation of LaTeX math into MATLAB code with OpenAI's ChatGPT.
This script illustrates translation of LaTeX math into MATLAB code with OpenAI's ChatGPT. View and like related scripts at
- 94 (All time)
- 13 (Last 30 days)
- -- / 5
- Community
-
9 Feb 2026
Convert an equation to latex form.
EQ2LATEX Convert an equation to latex form. t = eq2latex(f,copyOpt) converts a matlab symbolic equation to latex form and write it on a figure window to aid visual inspection of syntax or user
- 606 (All time)
- 3 (Last 30 days)
- -- / 5
- Community
-
2 Dec 2019
Output a latex formatted string as an image in while publishing
This function takes a latex math formatted string as input and outputs an image of the latex formatted equation in the published document. This is helpful for displaying symbolic expressions.There
- 137 (All time)
- 14 (Last 30 days)
- -- / 5
- Community
-
30 Nov 2015
generates nice for human numbers as a latex text
This function can be used to generate latex strings from numberical values.example. num2latex(013.454e-0007) generates '1.35 \times 10^{-6}'
- 2 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
5 Aug 2024
Output MATLAB data to formatted latex table (.tex)
Automatic creation of LaTeX styled tables from input
- 89 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
2 Oct 2017
LaTeX editor by MATLAB.
- 110 (All time)
- 8 (Last 30 days)
- -- / 5
- Community
-
16 Apr 2026
This tool allows you to export a numerical or cell array or a table into TeX or LaTeX by creating the codes that TeX/LaTeX can understand.
Suppose c is a numerical array, or a cell array containing mixed strings and numerical entries. Or c is a table. And you would like to export the content of c into a TeX or LaTeX file. t = tolatex(c
- 58 (All time)
- 13 (Last 30 days)
- -- / 5
- Community
-
29 Aug 2021