MATLAB: Problem regarding vectors and/or matrices

matricesvectors

I have a data file, which is of 60000×16 dimensions.
Having the data file loaded, I do not know, what the second command does!
load('Example.mat'); data = data(1:15000,6)'; (what does this command do ? )

Best Answer

The line:
data = data(1:15000,6)';
redefines the first 15000 rows of the 6th column of ‘data’ as a (1x15000) row vector, also named ‘data’.