Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Totanly
Totanly le 23 Oct 2013
Commenté : Jan le 22 Fév 2014
I have a large number of data. some unwanted data are also present. How to delete those column containing the unwanted data?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by