How to display a symbolic formula without substitutions "where"?
11 次查看(过去 30 天)
显示 更早的评论
Hello.
How to display a symbolic formula without "where" and "sigma"? Thanks.
0 个评论
回答(2 个)
Star Strider
2024-3-28
@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.
.
0 个评论
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!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!