how to delete some unwanted data from a large nomber of data?

1 view (last 30 days)
I have a large number of data. some unwanted data are also present. How to delete those column containing the unwanted data?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 23 Oct 2013
A=rand(10)
%If you want to delete column [1 3 5]
A(:,[1 3 5])=[]
  5 Comments
Jan
Jan on 22 Feb 2014
@Azzi: I've removed the flag and accepted the answer.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!