Problem with printing exponents with multiple digits

Whenever I am trying to print an exponent with more than one digit, only the first digit is printed as an exponent, and the remaining digits are printed as a regular number.
Example Script:
x = [1 : 100];
y1 = x.^10;
plot(x', y1');
title("x vs x^10");
Output:
The red rectangle shows the problem.
How do I print x^10?
-

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 23 de Sept. de 2017

Comentada:

el 23 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by