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?
1137 Solvers
Project Euler: Problem 3, Largest prime factor
412 Solvers
Flip the main diagonal of a matrix
517 Solvers
444 Solvers
2164 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!