what is the meaning of this result ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
diadalina
am 7 Okt. 2018
Beantwortet: Star Strider
am 7 Okt. 2018
can anyone explain to me the meaning of this : when i write real z matlab gives to me this : ans =122 real a ans =97
0 Kommentare
Akzeptierte Antwort
Star Strider
am 7 Okt. 2018
They are returning the ASCII decimal representations of the respective letters. I cannot find anything in the documentation for the Symbolic Math Toolbox real function or the core MATLAB documentation for real to explain it.
for example, this code:
real z
whos
char(ans)
whos
returns this result:
ans =
122
Name Size Bytes Class Attributes
ans 1x1 8 double
ans =
'z'
Name Size Bytes Class Attributes
ans 1x1 2 char
Perhaps one of the MathWorks folks can explain what is going on.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!