Write a function to find the record values in a sequence—that is, the largest values seen since the start. For example, if the sequence is
1, 2, 0, 4, 5, 3, 7, 8, 6, 10, 11, 9, 13, 14, 12, 16
then the function should return
1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16

Solution Stats

23 Solutions

14 Solvers

Last Solution submitted on Feb 07, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers14

Suggested Problems

More from this Author321

Problem Tags

Community Treasure Hunt

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

Start Hunting!