delete element from vector

1 Ansicht (letzte 30 Tage)
Zhengyuan Wang
Zhengyuan Wang am 8 Aug. 2016
Bearbeitet: Stephen23 am 8 Aug. 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 Kommentar
Stephen23
Stephen23 am 8 Aug. 2016
Bearbeitet: Stephen23 am 8 Aug. 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 8 Aug. 2016
Bearbeitet: Azzi Abdelmalek am 8 Aug. 2016

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing 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