Clear Filters
Clear Filters

reduce the number of rows in dataset

4 views (last 30 days)
Alyaa Ghazi
Alyaa Ghazi on 21 Feb 2024
Commented: KSSV on 22 Feb 2024
I want to reduce my dataset from 6752691*9 matrix to 6000*9
  2 Comments
Dyuman Joshi
Dyuman Joshi on 22 Feb 2024
Delete the rows using the indices.
KSSV
KSSV on 22 Feb 2024
What the criteria to reduce? You mayc heck options like unique.
Try
iwant = unique(data,'rows') ;
If there is anyother criteria to delete, it depends.

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!