Dear PRSD team,

When evaluating the number of samples in a dataset I always type length(data) or numel(data) before realizing that I should type instead length(+data) or size(+data,1).

To my opnion since we can adress the dataset samples using data(a:b) (i.e data could be considered as an array of 1-sample datasets), it would make sense that length(data) returns the number of samples contained in the dataset. Does it make sense?

I’m still using the version of December 2010. So please forget my question is this functionality has already been implemented since then.

Best regards,

JM