Problem 614. edge detection

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

49.0% Correct | 51.0% Incorrect
Last Solution submitted on May 31, 2020

Problem Recent Solvers98

Suggested Problems

Problem Tags