이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Load any text-based data into MATLAB.
Loads data into cell array. Data can have variable length lines or be mixtures of numeric and string types.
eg.
[a,b,c]=loadcell(fname,[',' char(9)],'"','single-empty2num')
Will load tab or comma seperated values into a. Seperators lying between inverted comma pairs will be ignored. Repeated seperators will not be treated as one. All empty fields will be treated as numeric zeros rather than empty strings. b and c give further info. See help.
Other files:
celltonumeric.m will take a columnar cell array and map it to an entirely numeric array with numeric pointers into string arrays. Useful for actually doing stuff with the data you loaded!
datato1ofm.m will remap categorical data (e.g. that produced by celltonumeric) and represent it entirely as 1ofM binary data. It keeps track of what came from where so can be used form multinomial analysis too. Ideal for any count-based probabilistic analysis.
인용 양식
Amos Storkey (2026). loadcell.m (https://kr.mathworks.com/matlabcentral/fileexchange/1965-loadcell-m), MATLAB Central File Exchange. 검색 날짜: .
도움
도움 준 파일: readtext
