How do I use the equation live editor?
Mostrar comentarios más antiguos
I have a very complicated code that I can't make sense of on paper. Is there a good way to convert this to an equation I can actually see and can figure out what's going on in non-code format. Even when I spend the 15 minutes figuring out what the equation represents on paper, I can't be sure it is right due to the complexity (especially with parentheses). This has been a continuous problem so I would like a "teach a man to fish" solution rather than just giving me the equation.
(g/((beta*g*rho)/T)^(1/2) - (g^2*rho*(beta + 1))/(2*T*((beta*g*rho)/T)^(3/2)))/(2*((g*(beta + 1))/((g*rho*beta)/T)^(1/2))^(1/2))
I tried using the help page "Insert Equations into the Live Editor" but the first step is "Go to the Insert tab and click Equation":
https://www.mathworks.com/help/matlab/matlab_prog/insert-equations.html
On my matlab page there is no "insert" tab. I only have tabs for "editor" "publish" and "view." There is an "insert" option in the editor tab, but this is only used to insert fa section, function or fi... Is there a toolbox that I need to add to get the "insert" tab?
As you can probably tell, searching for "insert" tab in google or matlab answers only gives me solutions for inserting a tab...
1 comentario
Cris LaPierre
el 14 de Nov. de 2018
Editada: Cris LaPierre
el 14 de Nov. de 2018
What version of MATLAB are you using? You must be on at least r2016a.
There is no need to install any toolboxes to have access.
'Insert Equation" started on the Live Editor ribbon and then moved to a separate "Insert" tab, so it will depend on your version where it is. Just look for a summation symbol in your toolstrip similar to what is in the top of the text edit box here in MATLAB Answers (Σ).
Respuesta aceptada
Más respuestas (1)
Tasneem Anwar
el 9 de En. de 2021
0 votos
syms theta4
-(r3^2)+(r11^2)+((r4^2)*(cos(theta4))^2)+(2*r11*r4*cos(theta4)+r2^2*(cos(theta2)^2)-2*r2*r11*cos(theta2)-2*r2*r4*cos(theta2)*cos(theta4)+(r9^2)+2*r9*r4*sin(theta4)+(r4^2)*(sin(theta4)^2)+(r2^2)*(sin(theta2))^2-(2*r2*r9*sin(theta2))+(2*r2*r4*sin(theta2)*sin(theta4))
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


