What is difference between x='93'; and x=93; ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Basically I wanna know about each and every detail of MATLAB... So please put details here... What is difference between x=93; x='93';
Thanks in advance...
댓글 수: 0
채택된 답변
Adam
2016년 8월 26일
x = 93
creates a numeric variable
x = '93'
creates a char variable containing a string.
This should be very easy to see from just trying it in the command window though!
댓글 수: 0
추가 답변 (1개)
Guillaume
2016년 8월 26일
I wanna know about each and every detail of MATLAB. Read the documentation or grab a book from the library.
For your specific question, see fundamental matlab classes. x = 96, creates a numeric variable (a double to be specific), x = '96' creates a char variable.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!