Problem with printing exponents with multiple digits

1 visualizzazione (ultimi 30 giorni)
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?
-

Risposta accettata

Stephen23
Stephen23 il 23 Set 2017
Modificato: Stephen23 il 23 Set 2017

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by