Biggest value in a vector

Hi all,
I am kinda new here and with matlab at all..
I'm trying to bulid a function using a for loop,
that will receive a row vector as an input, and will give me back the biggest value in that vector and it's location.
I know I can use max function, but I'm trying to lern how to use matlab.
Thanks ahead

 Accepted Answer

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!