You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something seems off — certain values are negative, indicating possible tampering.
Your task as Detective Alex Verma is to identify all readings that were tampered with.
Return a row vector containing the indices of all negative values in data.
If no tampering is found, return an empty vector.
Every negative entry is another clue toward catching the thief!

Solution Stats

73 Solutions

48 Solvers

Last Solution submitted on Feb 25, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers48

Suggested Problems

More from this Author71

Community Treasure Hunt

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

Start Hunting!