フィルターのクリア

I wonder the way of reading data for some specific order.

2 ビュー (過去 30 日間)
CHOI HYUNDUK
CHOI HYUNDUK 2018 年 11 月 27 日
回答済み: Stephen23 2018 年 11 月 27 日
for example, i have 36number txt. datas.
And I want to read 1,2,5,6,9,10....like this. jumping two things.
I used like below. I wonder how can it is made more simply..
Thank you so much.
for i = [1,2,5,6,9,10~~~~~33,34]

採用された回答

Stephen23
Stephen23 2018 年 11 月 27 日
>> sort([1:4:34,2:4:34])
ans =
1 2 5 6 9 10 13 14 17 18 21 22 25 26 29 30 33 34

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLow-Level File I/O についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by