want to find the particular column when the column content is given
Show older comments
a=[1 4 5 9 40 23 18] then if a(5) on command window then output 40 then 'what is the command to know' in which column 40 is there?
Accepted Answer
More Answers (1)
Robert Cumming
on 19 Jan 2012
find(a==40)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!