Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Wouter

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

Hello,

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.