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

This note was uploaded on 11/16/2009 for the course ENGIN 7 taught by Professor Horowitz during the Spring '08 term at Berkeley.

Ask a homework question - tutors are online