Borrar filtros
Borrar filtros

Variable Data Matrices From Excel

1 visualización (últimos 30 días)
Corbin Hedt
Corbin Hedt el 25 de Mzo. de 2011
I have several spreadsheets from excel that I am trying to get matlab to analyze. The column, in particular, that I am extracting from starts at the same row in each sheet. However, the end of the data varies between sheets. Normally, a (1:end) type of command would fix this, however there are data sets below the wanted range which I do not want included...so really, it would be a (1:variable_ending) type of thing.
What command could I use to select the lowest nonzero value to the highest value as the range for which to extract data from?
  2 comentarios
Fangjun Jiang
Fangjun Jiang el 25 de Mzo. de 2011
Can you provide an example of your column data? I don't quite understand your last phrase.
Ashish Uthama
Ashish Uthama el 25 de Mzo. de 2011
Any reason you cant read the full column data, and then filter data you need?

Iniciar sesión para comentar.

Respuestas (1)

RNTL
RNTL el 10 de Feb. de 2012
what differs the data in the column you want and the data coming right after? are there blank cells? different type of data? if you have, just take the whole column and parse it later.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by