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

28 Solutions

19 Solvers

Last Solution submitted on Apr 09, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers19

Suggested Problems

More from this Author323

Problem Tags

Community Treasure Hunt

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

Start Hunting!