MATLAB: Position of an array position of an array i have an array [2 3 5 7 9] on doing some calculation i obtain a result 7….. how can i get the position of 7 that is 4…. is it possible??… please do reply…. Best Answer http://www.mathworks.se/help/matlab/ref/find.htmlfind(array == 7) Related SolutionsMATLAB: Find the mean of every 5 values in an array Lanceric - try using reshape to change your array from a 1x20 to a 5x4 array and then compute the mean from that. For example, mean(reshape(b,[5,4])) MATLAB: Find Index Positions of a Small Array values in a Global Array G = [1; 4; 6; 9; 13; 17; 26; 33; 47];S= [6; 26; 47]; find(ismember(G,S))ans = 3 7 9 Related QuestionFind the rank of a element in a an array of numbersIntersect 2 arrays to find a positionFind the position index of vector array
Best Answer