How to display a symbolic formula without substitutions "where"?

19 次查看(过去 30 天)
Hello.
How to display a symbolic formula without "where" and "sigma"? Thanks.

回答(2 个)

Star Strider
Star Strider 2024-3-28,18:07
@reincornator — I usually put this:
sympref('AbbreviateOutput',false);
just after the syms call in my code to prevent all the Σ or σ from, appearing. See the documentation on sympref for more options.
.

Isaac
Isaac 2024-3-26
I was able to solve all of my issues with this kind of substitution by using the command expand().
Example: S_calc = expand(Eref_HV/Erad_HV)
Hope this works!
  1 个评论
reincornator
reincornator 2024-3-28,15:11
Привет. Эта функция не решает задачу.
Hi. This function does not solve the problem.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by