eq2latex

Version 1.0.1 (1.57 KB) by lazymatlab
Convert an equation to latex form.
516 Downloads
Updated 2 Dec 2019

View License

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 errors of a matlab equation.

t returns a text object.
f should be a symbolic expression defined correctly using sym or syms.
If copyOpt=='copy', the latex string is copied to clipboard and you can
paste an external app such as mathtype.

Developer: lazymatlabber
https://www.facebook.com/lazymatlabber/
https://lazymatlab.tistory.com/

2018.12.27. First release
2019.12.01. Copy option added

Refs.
https://kr.mathworks.com/help/symbolic/sym.latex.html
https://kr.mathworks.com/help/matlab/ref/text.html
https://lazymatlab.tistory.com/30

Cite As

lazymatlab (2024). eq2latex (https://www.mathworks.com/matlabcentral/fileexchange/73509-eq2latex), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
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!
Version Published Release Notes
1.0.1

Image Updated

1.0.0