image thumbnail

Matlab to LaTeX Library

version 1.3.0 (170 KB) by fhz
Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.

366 Downloads

Updated 27 Feb 2022

View License

Title
Matlab to LaTeX Library
Summary
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 of strings with LaTeX syntax and also files directed from Matlab.
It uses some functions from my "File Manipulation Library", to read and create files.
Some features are the full generation of files to insert figures and programming codes into LaTeX given a folder with them and a filter.
Some aided functions to converted notation as needed.
Functions to operate with matrices and vectors, even with imaginary parts or symbolic variables.
Functions to add to a struct the main LaTeX-commands, which is very useful while writing a LaTeX report through Matlab.
A function to write the general solution of linear ODEs is given as example of the full usage of this library.
All functions have examples of its usages.
New ideas and suggestions are welcome since the functions of this library were the ones I created to solve problems I faced.
Update Version 1.2.0:
fc_lib_latex_struct_strings_02_table
Now has \multicolumn and \multirow syntax in it.
fc_lib_latex_tab_num
Option for use with longtable environment
New function:
fc_lib_latex_add_tabular_longtable
Creates variation ot insert the environments tabular and longtable
fc_lib_latex_stringOnly_cell
Converts cells with numbers and NaN into only strings content.
It let's other functions to properly work dealing only if a simples data type.
fc_lib_latex_tab_line_colMerge
Based on the MSWord version, this function rewrites the syntax of a tabular string writing the proper syntax to \multicolumn usage.
Update Version 1.3.0:
Minor errors corrected
Added functions to run the example with eigenvalues.
New functions:
fc_lib_latex_add_tabular_longtable
fc_lib_latex_arrayToMatrix
fc_lib_latex_block_environment
fc_lib_latex_cell_to_tab_line
fc_lib_latex_check_ref_file
fc_lib_latex_compile_from_matlab
fc_lib_latex_converted_notation
fc_lib_latex_create_citelist
fc_lib_latex_polynom_write
fc_lib_latex_stringOnly_cell
fc_lib_latex_tab_line_colMerge

Cite As

fhz (2022). Matlab to LaTeX Library (https://www.mathworks.com/matlabcentral/fileexchange/72155-matlab-to-latex-library), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
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!

latex_library

latex_library/Examples_writing_EDO_order_n

latex_library/auxiliar_functions