what does x='1' mean
조회 수: 1 (최근 30일)
이전 댓글 표시
x='1'
y='2'
disp(x+y)
why is the answer 99
댓글 수: 2
채택된 답변
David Hill
2021년 2월 25일
The + converts the characters into their double equivalent so they can be added.
double('1')+double('2');% = 99
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!