photo

RONG


Last seen: 4 months ago Active since 2024

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
How can I find index of element in array?
firstIndex = find(X == 5, 1);

4 months ago | 0

Answered
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);

4 months ago | 0