delete element from vector

2 ビュー (過去 30 日間)
Zhengyuan Wang
Zhengyuan Wang 2016 年 8 月 8 日
編集済み: Stephen23 2016 年 8 月 8 日
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 件のコメント
Stephen23
Stephen23 2016 年 8 月 8 日
編集済み: Stephen23 2016 年 8 月 8 日
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.

サインインしてコメントする。

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 8 日
編集済み: Azzi Abdelmalek 2016 年 8 月 8 日
  1 件のコメント
Zhengyuan Wang
Zhengyuan Wang 2016 年 8 月 8 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by