|
"Xiao " <viva_paradise@hotmail.com> wrote in message <glhcig$1l8$1@fred.mathworks.com>...
> Hi all,
>
> I have a question as follow:
>
> for example:
>
> network = [] [1;0] [] ;
> [] [] [0;1] ;
> [] [] [1;0] ;
> [] [] [] ;
> [] [] [] ],
>
> First, i need to check through the columns to see if there is more than one item in it. Based on the network, col 3 has more than one item. After which, i need to store the positions of the 2 items.
>
> that means to say,
>
> When more than 1 item in a column
> store those positions [network (2,3) & network (3,3)] in an ARRAY.
>
> After the checking is done,
> go to the ARRAY,
>
> eg:
>
> ARRAY ( Position of 1st item, position of 2nd item )
>
> then take out the content from the 2 positions and compare their rank.
>
> I hope this elaboration is clear enough..
>
> May I ask, how do i go about doing it ?
>
> Thank you in advance.
Just do what you are told. Or as John once put it:
The going rate for homework is $400 per hour. A minimum of 10 hours. Payable in advance, in cash, small bills only.
|