How to store corresponding data whenever zero comes in that column from excel sheet?
10 views (last 30 days)
Show older comments
I have excel sheet which contains 18 columns,I want to check one column whenever zeros comes in that column , store corresponding another columns data. How to do?
0 Comments
Answers (1)
KSSV
on 21 Dec 2022
LEt A be your data/ matrix and you want to check 0's in the first column.
iwant = A(A(:,1)==0,:)
0 Comments
See Also
Categories
Find more on Data Import from 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!