Problem 614. edge detection

Created by Rémi in Community

write a function that gives the indexes of rising or falling edge

x is a vector (assume it contains always at least one element) str is a string with value 'up' or 'down', describing if you must return indexes of rising or falling edges

Solution Stats

48.95% Correct | 51.05% Incorrect
Last solution submitted on Jan 13, 2019

Recent Solvers72

Suggested Problems