MATLAB Answers

Does Matlab provide a formel editor?

조회 수: 10(최근 30일)
Thomas
Thomas 21 May 2013
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

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

Thomas
Thomas 21 May 2013
I assume you could use the symbolic math toolbox.

  댓글 수: 2

Thomas
Thomas 21 May 2013
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 21 May 2013
You could just break your excessively long formulae into sections.
eg. prt = pressure * density * temperature
long_expression = prt^prt + exp(prt)...

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by