How to change strange cell array within a table to double or categorical array
이전 댓글 표시
I have some columns within a table that are labeled as cells that contain both NaN's and "Checked" (a categorical).
Please see the attach screen shot.
How to I change those columns to either a categorical array or to a numeric array with "checked" as 1's?
Thanks!
채택된 답변
추가 답변 (1개)
dpb
2020년 6월 27일
0 개 추천
Use the optional valueset, and perhaps catnames inputs to categorical to define as desired.
카테고리
도움말 센터 및 File Exchange에서 Data Type Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!