Borrar filtros
Borrar filtros

How to plot only the available data?

2 visualizaciones (últimos 30 días)
Ivan Mich
Ivan Mich el 7 de Feb. de 2021
Respondida: Walter Roberson el 7 de Feb. de 2021
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

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Feb. de 2021
d = readmatrix('uest.xlsx');
d = rmmissing(d);
scatter(d(:,1), d(:,2))

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by