Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
How to convert numerical Matlab code into LaTeX?
Replies:
4
Last Post:
Apr 28, 2014 6:14 AM



Marta
Posts:
4
Registered:
4/25/14


How to convert numerical Matlab code into LaTeX?
Posted:
Apr 25, 2014 9:01 AM


Hello!
I have some numerical equations in Matlab that I need to type into LaTeX, but I cannot find an automatic way of doing this. I wanted a tool that transformed Matlab code like:
tauf = 200./(1+exp((V15)/20));
into LaTeX, as in:
tauf = frac{200}{1+exp(\frac{V15}{20})} \\
I can find plenty of tools on Matlab File Exchange that format mcode so that you can insert it into LaTeX (not what I want) and also the Matlab latex() function in the Symbolic Maths package, which does not do it for me, as my equations are not symbolic.
Does anybody know of a tool/function that would suit my needs?
Many thanks, Marta



