MATLAB: Extract column from a set of matrices

anti-patterndynamic variable namesevalinefficientmatrixslow

I have a bunch of matrices that are named 'TAGi', where i is an index from 1 to 2500. The size of each matrix is 3000 x 4. I need to get the third column to evaluate the rms value. How can I extract the third column of every single matrix with a for loop?

Best Answer

Thank you for not answering my question. In any case, if somebody else is interested, this is what I did to extract the third column of each matrix.
for i = 1:2500
s = ['TAG' num2str( i ) '( : , 3 )'];
A ( : , i) = eval( s );
end