Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Matrix Extract - ignore indices out of bounds' topicStudent Support Forum > General > Archives > "Matrix Extract - ignore indices out of bounds"

Next Comment >Help | Reply To Topic
Author Comment/Response
Rob
01/25/13 3:47pm

Hello,

I want to extract elements from a matrix with foo[[1 ;; 2, 3 ;; 6]]

However, this function yields an error when indices are out of bounds, i. e. my matrix has not enough rows/cols.

How do I ignore indices that are out of bounds?

URL: ,

Subject (listing for 'Matrix Extract - ignore indices out of bounds')
Author Date Posted
Matrix Extract - ignore indices out of bounds Rob 01/25/13 3:47pm
Re: Matrix Extract - ignore indices out of bounds yehuda 01/28/13 07:42am
Next Comment >Help | Reply To Topic