Answers
Matlab Cody Problem 105. How to find the position of an element in a vector without using the find function
- Institution
- Massachusetts Institute Of Technology
Problem 105. How to find the position of an element in a vector without using the find function Created by Chelsea in Community Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: findPosition([1 3 5 4 2], 2) posX is 5 findPos...
[Show more]