Problem with printing exponents with multiple digits
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
-
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!