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: Colon Operator
Replies: 2   Last Post: Sep 24, 2013 4:35 PM

Advanced Search

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

Posts: 3,919
Registered: 12/7/04
Re: Colon Operator
Posted: Sep 24, 2013 3:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Wednesday, September 25, 2013 7:35:07 AM UTC+12, Anh wrote:
> Hi guys :( I'm new in mathlab and don't know how to do this
>
> ( Use the colon operator, construct the matrix H whose first row is the second row of matrix A, and second and third rows are the second and third columns of matrix C, and the fourth row is the first row of matrix A in exercise 1. )
>
> I tried H= [a(2,:) c(2,:) c(3,:) a(1,:)]
>
> But all are wrong. anyone have suggestion ?
>
> Thanks


First of all, it's Matlab not mathlab.
Second, we don't do people's homework.
Third, the case of a variable is important. A is not the same as a.


Date Subject Author
9/24/13
Read Colon Operator
Anh
9/24/13
Read Re: Colon Operator
Derek Goring
9/24/13
Read Re: Colon Operator
Curious

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.