How to display superscript in the command window.
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
adam soker
el 17 de Mzo. de 2022
Respondida: Stephen23
el 17 de Mzo. de 2022
I want to build a function that display in the command window expression with superscript, like:
. How can I do it.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/930894/image.png)
0 comentarios
Respuesta aceptada
Stephen23
el 17 de Mzo. de 2022
You can use these characters:
Lets try one:
fprintf('y\xB2')
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre LaTeX en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!