MATLAB: Biggest value in a vector

functionhomeworkmatlab functionmax

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

Best Answer

Google bubble sort.
Related Question