Search All of the Math Forum:

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

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

Topic: Colon Operator
Replies: 2   Last Post: Sep 24, 2013 4:35 PM

 Messages: [ Previous | Next ]
 Derek Goring Posts: 3,922 Registered: 12/7/04
Re: Colon Operator
Posted: Sep 24, 2013 3:42 PM

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 Anh
9/24/13 Derek Goring
9/24/13 Curious