what is the meaning of this result ?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2018년 10월 7일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!