How to plot only the available data?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have two columns. The second column has not all its data completed, and as a result with the use of command readcell there is an error in screen (1x1 missing). I wouls like to make a plot taking into account the avalaiable data of the file.
I am uploading the file.
Thank you in advance
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 2월 7일
d = readmatrix('uest.xlsx');
d = rmmissing(d);
scatter(d(:,1), d(:,2))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!