Adding latex equation to a Matlab Live Script and Plot the equation
Show older comments
I have added a latex equation to a Matlab Live Script. (In the Insert tab, by clicking Equation, and selecting LaTeX Equation)
For Example, let's have a latex equation as follows:
\frac{100 (-3)}{7 \left(5 \left(4 e^{10 \left(x-\frac{y}{100}\right)}-1\right)\right)}
I think the equation is a text form.

Question:
I want to convert the equation to code form and want to plot the equation. (CTRL+E doesn't work)
Any help would be appreciated.
Accepted Answer
More Answers (1)
dpb
on 1 Jan 2022
0 votes
LaTeX is simply a display feature, at least so far it isn't tied to the actual code...
1 Comment
Walter Roberson
on 1 Jan 2022
Also, mathematical presentation format such as LaTeX is often ambiguous as code, and needs to be interpreted according to the knowledge domain.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!