Problem 60926. Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them.
For instance,
input = [1, 3, 2, 4, 3, 5]
output = [3, 4, 5]
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
15 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!