how do I write an equation from matlab to latex?
Mostrar comentarios más antiguos
I have a long differential not linear equation written in Matlab and i want to visualize it in lateX but I don't know how to do it. Do you have any suggests? Thanks
Respuestas (1)
Star Strider
el 1 de Mayo de 2023
1 voto
3 comentarios
simone palleschi
el 1 de Mayo de 2023
Walter Roberson
el 1 de Mayo de 2023
Editada: Walter Roberson
el 1 de Mayo de 2023
syms f(x)
df = diff(f);
d2f = diff(df);
eqn = d2f == df^2 - f + 1
L = latex(eqn)
Entering that string into the latex editor here in Answers gives
which is the same as was displayed.
Star Strider
el 1 de Mayo de 2023
@Walter Roberson — Thank you!
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!