Main Content

328 results

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```>&gt

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

Plot2LaTeX

Version 1.2.0.0

by Jan de Jong

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

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

latex

Version 1.0.0.0

by Toby Driscoll

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

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

latexTable

Version 1.21.0.0

by Eli Duenisch

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

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

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

LaTeX table creation.

Version 1.0.0.0

by Andrew

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

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

matrix2latex

Version 1.0.0.0

by Moritz Koehler

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

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

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

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

Simulate electromagnetic wave propagation through free-form apertures, or off rough surfaces. Speed up the computation by using the GPU.

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

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

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

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

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

Export triangulated mesh into a pdf with a 3D interactive object.

figure to latex

Version 1.0.0.0

by David Krause

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

A toolbox for discrete orthogonal polynomials and their applications to fitting, ODEs etc.

This function extends the capabilities of the plot function in Matlab and enhances the visual output of a basic plot.

teximage.m

Version 1.2.0.1

by Ben Hinkle

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.

Report to Latex (R2L)

Version 1.0.0.0

by JR

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

Transformation Toolbox

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

outreg_latex

Version 1.2.0.0

by Rob

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

lateximage

Version 1.2.3.0

by Kesh Ikuma

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

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

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

Matlab 2 Latex

Version 1.0.0.0

by Kevin Mader

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

Allows to display and print simple text tables in MatLab. Plain and LaTeX format supported.

'txt' (plain text), 'tex' (LaTeX tabular) and 'pdf' (Basically using pdflatex on 'tex' output).The table can easily be transposed and sorted.In difference to the submission #33717 I make use of classes

surf to LaTeX

Version 1.0.0.0

by David Krause

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

gorecki/HACopula

Version 1.1.0.0

by Jan Gorecki

Version R2018_08_24

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.

AnimateLaTeX

Version 1.13.0.0

by Per Bergström

Generates LaTeX source code for pdf-animations

AnimateLaTeX generates LaTeX source code for making pdf-animations using the "Animate Package for LaTeX". Run the script file "runAllExamples.m" in Matlab to run the examples. A pdf-file with the

Convert a transfer function to LaTeX math code

To speed up LaTeX reporting, this function converts a numerator and denominator array that is taken from a MATLAB tf object to LaTex math code. The LaTeX character for s (Laplace variable) can be

PlotPdfTex

Version 1.0.0.0

by Emmett L

PDF file exportation with LaTeX text and symbols

PLOTPDFTEX renders all of the text in a Matlab figure with LaTeX (using LaPrint) and then saves it as a single pdf file for easy inclusion in a LaTeX document using pdflatex. This function is an

Pretty Equation Viewer

Version 1.0.0.0

by Brett

Display a pretty latex-formatted version of a Matlab expression.

Pops up a figure with a pretty latex-formatted equation for a Matlab expression. Works for previous line in a script, previous command at command prompt, or for equations passed inline. The

LaPrint

Version 1.0.0.0

by Arno Linnemann

LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents.

LaPrint is a MATLAB function to print MATLAB graphics for inclusion in LaTeX documents. LaPrint creates an eps-file and a tex-file. The tex-file contains the annotation of the figure such as titles

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

Matfig2PGF

Version 1.2.0.0

by Paul Wagenaars

Convert figures to PGF files that can be included in LaTeX documents.

Matfig2PGF is script that allows users to convert MATLAB figures to PGF . PGF figures can be included in a LaTeX document using the PGF macro package. The PGF package works with most important LaTeX

DataTable

Version 1.1.0.0

by Paul Mattern

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

pdollar/toolbox

Version 1.0.0.0

by pdollar

Piotr's Image & Video Matlab Toolbox

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.

wikimarkup

Version 1.1.0.0

by Pavan Mallapragada

Generates latex, html, mediawiki, xml code for tables, images, text and matlab structures.

wikimarkup is a class to automatically generate latex/wiki/html markup for matlab objects. Currently it supports cell or numeric matrices, images (as filenames) and structures. Adding new syntax is

latexfigure

Version 1.0.0.0

by Matthias Pospiech

This package enables the use of all fonts that are supported by LaTeX in a figure.

matlabfrag to support also non math fonts.The linestyles are corrected using the ‘fix_lines.m’ script from export_fig. The major drawback of this approach is that it requires a complete LaTeX collection to

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

cbar

Version 1.0.0.0

by Daniel Ennis

Replace colorbar units with latex format string enabled text handles.

This function eliminates the native colorbar number labeling and replaces it with a cell array of modifiable text handles. This provides a way to add LaTeX characters, format strings, font

PlotPdfTex

Version 1.1.0.0

by Emmett

PDF file exportation with LaTeX text and symbols

PLOTPDFTEX renders all of the text in a Matlab figure with LaTeX (using LaPrint) and then saves it as a single pdf file for easy inclusion in a LaTeX document using pdflatex.This function is an

Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes.

Will replace axes tick labels with formatted text objects that can include both Tex and LaTex interpreted strings. Primary example is to add degree symbols to labels. Inputs can be a cell array of

matlabfrag to pdf

Version 1.4.0.0

by Martin

Small script using matlabfrag to create a latex formatted pdf file.

TeX Editor

Version 1.4.0.1

by Ben Hinkle

a GUI for editing LaTeX equations

TeXEditor is a graphical interface for editing and previewing LaTeX equations for use in MATLAB. Keyboard shortcuts and equation templates are supported. Reference links to TeX resources on the web

latexcmd

Version 1.0.0.0

by Peder Axensten

A simple yet flexible way to access Matlab results from LaTeX documents. Includes an example file.

USAGE: latexcmd(filename, var1, var2, ...) Creates a LaTeX file with commands named as the corresponding Matlab variables. Include the resulting LaTeX file into your LaTeX document (by an

plot2eps

Version 1.3.0.0

by Mark Verveld

Function to streamline the workflow of converting plots to eps files for inclusion in LaTeX.

vector to set different values for each figure.'deletetitle': Boolean value to be able to delete the title from figures. This may be desirable in a LaTeX document where captions are used to describe the

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

reg2latex

Version 1.0.1

by MR

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

Load more