Does Matlab provide a formel editor?

3 次查看(过去 30 天)
Hello folks,
do you know, if Matlab provides a formel editor? My problem is that i have to type many long formulas (with a lot of brackets) and i always loose the overview. A popup, which converts/images the current row, on which i'm writing, into a writing style, like we use, if we write forumlas by hand, would be great.
I hope you understand what i mean =)
Thanks for answering
Regards Thomas

采纳的回答

Thomas
Thomas 2013-5-21
I assume you could use the symbolic math toolbox.
  2 个评论
Thomas
Thomas 2013-5-21
编辑:Thomas 2013-5-21
I think that the symbolic math toolbox provides just the operation pretty(). But it's too intricate to use this function to verficate each formula you typed in the script (you would always have to make a function handle-->pretty(@fh) ) ! So i'm looking for something that visualizes your typed formula in a more convenient way. Maybe you just mark your written formula, then push on a button ( e.g from a Matlab extension tool) and Matlab shows you how it would look like (with fraction bars, etc.) in a popup-window.
Iain
Iain 2013-5-21
You could just break your excessively long formulae into sections.
eg. prt = pressure * density * temperature
long_expression = prt^prt + exp(prt)...

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by