MaxFilter¶ Maximum filter over a sliding window. $ wo 'MaxFilter[{1, 5, 2, 8, 3}, 1]' {5, 5, 8, 8, 8}