Clear Filters
Clear Filters

How to display superscript in the command window.

23 views (last 30 days)
I want to build a function that display in the command window expression with superscript, like: . How can I do it.

Accepted Answer

Stephen23
Stephen23 on 17 Mar 2022
You can use these characters:
Lets try one:
fprintf('y\xB2')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!