delete element from vector

2 vues (au cours des 30 derniers jours)
Zhengyuan Wang
Zhengyuan Wang le 8 Août 2016
Modifié(e) : Stephen23 le 8 Août 2016
Hello,
Thanks for helping. I have this vector here which is very large(ie 1*400000), and I would like to only keep n+5th column in the vector (ie I'd like to keep column 1,6,11,16 ect). How would I do that?
Cheers!
  1 commentaire
Stephen23
Stephen23 le 8 Août 2016
Modifié(e) : Stephen23 le 8 Août 2016
This is a very basic MATLAB concept that is taught in the introductory tutorials:
Anyone who do not know what indexing is and how to use it should do those tutorials if they want to use MATLAB.

Connectez-vous pour commenter.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 8 Août 2016
Modifié(e) : Azzi Abdelmalek le 8 Août 2016
  1 commentaire
Zhengyuan Wang
Zhengyuan Wang le 8 Août 2016
Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by