On Jul 26, 2008, at Jul 26:10:12 AM, Alan G Isaac wrote:
This is probably the most asked single question. Use ``ix_``. Example below.
cool. this should definitely be in the Numpy for Matlab users page, http://www.scipy.org/NumPy_for_Matlab_Users, right after the line:
Matlab Numpy Notes a(1:3,5:9) a[0:3][:,4:9] rows one to three and columns five to nine of a
because this example gives a read-only submatrix. I looked there first to get an answer, and it wasn't forthcoming.
thanks for the tip!