Post Reply 
Access Matrix by row or column
12-28-2017, 08:19 PM
Post: #5
RE: Access Matrix by row or column
(12-28-2017 11:26 AM)Stevetuc Wrote:  .....
Actually, for a 2D Matrix, just using A(1) will select the 1st row ,but how to fo this for a column? I tried A(:,1) but this errors.

You can use negative values to select columns: A(-1) selects the 1st column
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Access Matrix by row or column - Stevetuc - 12-28-2017, 11:26 AM
RE: Access Matrix by row or column - JMB - 12-28-2017 08:19 PM



User(s) browsing this thread: 1 Guest(s)