Feeds
已回答
How can I find index of element in array?
% Suppose X is your array X = [3, 5, 7, 5, 9]; % Find the index of the element 5 index = find(X == 5);
How can I find index of element in array?
% Suppose X is your array X = [3, 5, 7, 5, 9]; % Find the index of the element 5 index = find(X == 5);
1 year 前 | 0
