Representation of Numbers in Matlab

버전 1.0.0.0 (84.6 KB) 작성자: Munther
In computers, numbers are classified into three main categories: unsigned integers, signed integers
다운로드 수: 132
업데이트 날짜: 2011/11/29

라이선스 보기

Positive integer numbers can be represented in Matlab using the unsigned integer classes. Matlab supports four unsigned integer classes which are uint8, uint16, uint32, and uint64. Examples of positive integer numbers are 2, 7, 1023, 12345, etc…

The uint8 class is capable of representing an integer number in the range of 0 to 255. Storing such a number in the computer memory using this class requires one byte.

The uint16 class is capable of representing an integer number in the range of 0 to 65,535. Storing such a number in the computer memory using this class requires two bytes.

The uint32 class is capable of representing an integer number in the range of 0 to 4,294,967,295. Storing such a number in the computer memory using this class requires four bytes.

The uint64 class is capable of representing a number in the range of 0 to 18,446,744,073,709,551,615. Storing such a number in the computer memory using this class requires eight bytes.

인용 양식

Munther (2024). Representation of Numbers in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/33992-representation-of-numbers-in-matlab), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Arithmetic Operations에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0