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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by