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?
-

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by