Clear Filters
Clear Filters

help deleting rows with column value in a table of data

1 view (last 30 days)
I need help deleting all the rows with value of '2' in the array column in the data on my table

Answers (2)

Bhaskar R
Bhaskar R on 9 Dec 2019
Edited: Bhaskar R on 9 Dec 2019
Suppose your table data stored in the variable T
T(find(T.ARRAY == 2),:) = [];
  3 Comments
Bhaskar R
Bhaskar R on 9 Dec 2019
Edited: Bhaskar R on 9 Dec 2019
Can you provide small portion of your table data in mat file
Bhaskar R
Bhaskar R on 9 Dec 2019
No, it is not a mat (MATLAB saved workspace file). It is an image.
Run the below command
save tablefile ABER1001
You will see the tablefile.mat in the current working directory.
Share tablefile.mat file

Sign in to comment.


Maritza Torres
Maritza Torres on 9 Dec 2019

Categories

Find more on Tables 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!