Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Totanly
Totanly am 23 Okt. 2013
Kommentiert: Jan am 22 Feb. 2014
I have a large number of data. some unwanted data are also present. How to delete those column containing the unwanted data?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 23 Okt. 2013
A=rand(10)
%If you want to delete column [1 3 5]
A(:,[1 3 5])=[]
  5 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 22 Feb. 2014
No, my answer was flaged!
Jan
Jan am 22 Feb. 2014
@Azzi: I've removed the flag and accepted the answer.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Variables finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by