LaTeX interpreted to MatLab

13 views (last 30 days)
Joshua Hargis
Joshua Hargis on 14 Nov 2014
Commented: Star Strider on 14 Nov 2014
I'm a novice when it comes to using MatLab, but I do really enjoy using LaTeX for things. I notice there is currently a little crossover into LaTeX within MatLab's graphing capabilities. However, I'm wondering about a more detailed interface. Currently, there's an open source program called Sage that allows users to input LaTeX code in a latex document and Sage computes it and outputs it directly into the LateX document...so if I were to figure out how to do that, I could do some pretty cool/hard math, just by typing the expressions into my LaTeX editor.
Is there any such capability within the MatLab environment, or is there a way to make the 2 programs talk to each other like with Sage? I ask because I'll learn Sage if I have to, but I'd prefer MatLab.

Accepted Answer

Zoltán Csáti
Zoltán Csáti on 14 Nov 2014
If you want to include computations into LaTeX, try the publish feature. However, some of the LaTeX commands are not recognised by MATLAB. You can select to publish your computations to latex that can be modified with a TeX editor if desired.
  1 Comment
Star Strider
Star Strider on 14 Nov 2014
Also, the Symbolic Math Toolbox can do symbolic and numeric calculations and output its results in latex.

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!