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
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers39
Suggested Problems
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!