table linear indexing error
이전 댓글 표시
Why am I getting an error when trying to linear index into my table?
>> load patients
>> T = table(Gender,Smoker,Height,Weight);
>> T(:,4)(T.Smoker==1)
Error: ()-indexing must appear last in an index expression.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!