Problem with printing exponents with multiple digits

1 Ansicht (letzte 30 Tage)
Quazi Irfan
Quazi Irfan am 23 Sep. 2017
Kommentiert: Quazi Irfan am 23 Sep. 2017
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?
-

Akzeptierte Antwort

Stephen23
Stephen23 am 23 Sep. 2017
Bearbeitet: Stephen23 am 23 Sep. 2017

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by