how to extract data with some condition
Show older comments
Hello everyone
I have a 9 colomns of data,say x1 to x9, each colomn has 150 rows
I need to extract all the data when x2==0 and x1=0.5, and make a new dataset of 9 colomns
Please teach me how to do this
I will appreciate you help
3 Comments
madhan ravi
on 30 Nov 2018
Edited: madhan ravi
on 30 Nov 2018
so when it satisfies the condition you mean you want to extract all the correponding rows/columns?upload the sample data and give an example of your desired output.
Samaneh Arzpeima
on 30 Nov 2018
madhan ravi
on 30 Nov 2018
just give a numerical example still not clear
Accepted Answer
More Answers (0)
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!