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!