How to find tha index of maximum value in a row vector
i have to find index value of maximum value in a row vector for ex
x=[ 1 2 34 5]; as 34 is the biggest element in this vector, so
i have to get answer as 3....how?
anybody knows this plz reply...thank you ....
mohannachar@gmail.com
|
|
0
|
|
|
|
Reply
|
mohan
|
1/3/2010 7:41:03 PM |
|
Dear mohan!
> How to find tha index of maximum value in a row vector
> i have to find index value of maximum value in a row vector for ex
> x=[ 1 2 34 5]; as 34 is the biggest element in this vector, so
> i have to get answer as 3....how?
help max
> mohannachar@gmail.com
I'd recommend not to publish your mail address to avoid tons of spam. Nevertheless, this is too late now.
Kind regards, Jan
|
|
0
|
|
|
|
Reply
|
Jan
|
1/3/2010 8:35:04 PM
|
|
"mohan "
> How to find tha index of maximum value in a row vector
> i have to find index value of maximum value in a row vector for ex
> x=[ 1 2 34 5]; as 34 is the biggest element in this vector, so
> i have to get answer as 3....how?
> anybody knows this plz reply...thank you ....
type
help max
Oleg
|
|
0
|
|
|
|
Reply
|
Oleg
|
1/3/2010 8:35:04 PM
|
|