Detabulate

버전 1.0.0.0 (1.62 KB) 작성자: Skynet
DETABULATE(TABLE) converts frequency counts to the original population.
다운로드 수: 1.2K
업데이트 날짜: 2005/12/1

라이선스 보기

POPULATION = DETABULATE(TABLE), where the first column of the matrix TABLE contains values, and the second column contains respective frequency counts, returns the original population matrix (POPULATION). In this manner, its functionality is reverse that of the Statistics toolbox function TABLULATE.

Note: This code is vectorized.

Example:

detabulate([1 1; 2 3; 4 0; 5 2])
returns [1; 2; 2; 2; 5; 5]

[Please subscribe to this file if you use it, so you can be notified of updates.]

인용 양식

Skynet (2024). Detabulate (https://www.mathworks.com/matlabcentral/fileexchange/9179-detabulate), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

Vectorized code for increased efficiency, thanks to code supplied by Jos vdG.