From: Mohammed Hisham Naeem on
I need help writing the following function:

Write a function called maxai to return the index of the element with
greatest absolute
value. In other words, imax=maxai(v) returns imax such that abs(v
(imax))≥ abs(v(i))
for all i. Test for v=reshape(peaks(8),64,1);