MATLAB Answers

How to convert some division slashes in a plain text expression to fraction bars, and display the formatted expression without calculations being performed on it?

5 ビュー (過去 30 日間)
John
John 2013 年 4 月 30 日
Hello,
I have a problem with inputting plain text to MuPAD and getting formatted output in return, without MuPAD performing calculations first. For example I need "a/gcd(a,b)/(b/gcd(a,b))" to be displayed as "a/gcd(a,b) #FRACTION BAR# b/gcd(a,b)", instead of just "a #FRACTION BAR# b".
I would really appreciate if someone explains how to format the text in MATLAB or MuPAD so that it can be copied or exported as an image file.
Thanks for your time.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by