이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
SIZECONVERT(SIZES,ROUNDING) converts a numerical matrix containing sizes in bytes to larger units of size as relevant. The output is a cell with the first column containing the converted sizes and the second column containing the abbreviated converted units.
By default, the converted sizes are rounded to the nearest integer for readability, although this can be disabled.
Examples:
sizeconvert([534 1019 1047 16854 1724416 189340868 403296067584])
returns {534,'B';1019,'B';1,'KB';16,'KB';2,'MB';181,'MB';376,'GB'}
sizeconvert([437,5457, 4534405],0)
returns {437,'B';5.3291,'KB';4.3243,'MB'}
See code or type 'help sizeconvert' for full usage details.
[Please subscribe to this file if you use it, so you can be notified of updates.]
인용 양식
Skynet (2026). Size Convert (https://kr.mathworks.com/matlabcentral/fileexchange/7425-size-convert), MATLAB Central File Exchange. 검색 날짜: .
도움
도움 준 파일: Perform zero-padding
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 | Made minor updates to description and comments. |
