MATLAB: Matrix reduction

matrix reduction

I have a very large set of data of over 1000 readings in [A]. I need to reduce the data to 101 readings evenly spaced over the original data set. Can anyone give me some help, or point me in the right direction? Any help would be much appreciated.

Best Answer

If DAT is your original data.
NewDAT = DAT(round(linspace(1,length(DAT),101)))