I added six more test cases.
hay
kinda easy
It's easy with function "find"
use "find"
out=find(vec>thresh);
my solution is incorrect.how would i get the exact solution?
You can ask in the matlab center
Can someone explain this solution to me?
Return the largest number that is adjacent to a zero
3830 Solvers
5819 Solvers
1633 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
304 Solvers
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!