I really don't see the point of that kind of problems where you can't use Matlab built-in functions.
which functions?
How to find the position of an element in a vector without using the find function
2488 Solvers
1277 Solvers
17570 Solvers
529 Solvers
472 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!