欠損データの行の削除方法
조회 수: 24 (최근 30일)
이전 댓글 표시
채택된 답변
lattice
2018년 7월 11일
isnan で 1 列目の NaN のある行を選んで,その行の全列を空にします.
元のデータを X とすると,
id = isnan(X(:,1));
X(id, :) = [];
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!