How can I show the integral symbol with the original problem?

29 views (last 30 days)
Hi, I would like to know how to display the integral symbol with the original problem on the screen. I use the preety command to show the problem or answer in a detailed way, but if I want to show f=int(x^2) how can I show the original problem (int(x^2)) with the integral symbol precedent?. (Not the solution)

Accepted Answer

Walter Roberson
Walter Roberson on 13 Aug 2013
Try
sym('_hold(int(x^2))')
  4 Comments
Jorge E
Jorge E on 13 Aug 2013
Yes!! it works with pretty(sym('hold(int(x^2,x))')) Thank you very much!!

Sign in to comment.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!