Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to display two equations: one with dummy vars AND one with actual var values showing

2 visualizzazioni (ultimi 30 giorni)
I am trying to display (1) an equation with dummy variables followed by (2) the same equation with actual workspace variable values substituted for the dummy variables. In other words, a lead-in to how the final value was arrived at.
I can accomplish (1) by using an "Evaluate MatLab Expression" component to create a figure with a text(str) line where "str" is the LaTex code for my dummy equation. (axes are hidden)
Unfortunately, this method doesn't seem to recognize %<var> expressions so I can't use it to accomplish (2).
I am looking for a text solution if possible to do (1) and (2).
Any help would be most appreciated!

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by