Problem 45206. How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

Solution Stats

70.83% Correct | 29.17% Incorrect
Last Solution submitted on Jan 03, 2020