indexmax1 - if A(ii>= A(ii-1&& A(ii>= A(b b =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [b] = indexmax1(A) b = [1]; for ii = 2:length(A);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: if A(ii) >= A(ii-1) && A(ii)>= A(b); b = ii; end end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online