latexit(A, dp)

Converts a (m \times n) matrix/vector to LaTeX \bmatrix for quick TeX-ing!
107 Downloads
Updated 9 Apr 2015

View License

An irritating problem is having to copy and paste a matrix from MATLAB to any LaTeX editor. I couldn't find a simple program which made the MATLAB format into a TeX-friendly format. I hope this tiny code helps solve that problem.

Cite As

Ankush Chakrabarty (2024). latexit(A, dp) (https://www.mathworks.com/matlabcentral/fileexchange/50360-latexit-a-dp), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Updated with a few lines of usage.
Also got rid of forced clc in code.

1.1.0.0

Considers vectors as well as matrices.

1.0.0.0