The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: taking specific row form matrix
Replies: 2   Last Post: Mar 19, 2014 6:00 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 3/19/14
taking specific row form matrix
Posted: Mar 19, 2014 5:35 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I would like to take a certain row out of a matrix, but not the entire row: until a certain colomn. As an example I have the matrix A:

A = 1 2 3 4
5 6 7 8
9 10 11 12

And I would like to take row 2 till the third colomn, so [2 6 7]. Is there a quick formula to do this in matlab? Thanks!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.