How do i remove rows that have a blank space in a cell array?
조회 수: 2 (최근 30일)
이전 댓글 표시
I've imported a spreadsheet from excel that has a roster and information on people. How do I remove people from a cell array that did not fill out the email field?
댓글 수: 0
답변 (1개)
Jos (10584)
2017년 12월 3일
tf = cellfun(@isempty, C_email) % check each cell of the cell array holding the emails
C_people(tf) = [] % remove the cells in the cell array holding the people
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!