import only selected row in file data

Hi! I have a file .dat like this:
101
190.946 74.1
101
120.903 76.6
101
120.041 76.525
101
119.846 76.5
101
120.206 76.5
101
119.729 76.525
101
119.656 76.525
I would like to import in matlab only the first column without repetitions and NaN.

回答 (1 件)

Paul Shoemaker
Paul Shoemaker 2018 年 3 月 6 日
編集済み: Paul Shoemaker 2018 年 3 月 6 日

0 投票

There are countless options for doing this and your problem appears to be fairly general purpose. Take a look at this information page on the topic.
Paul Shoemaker

カテゴリ

質問済み:

2018 年 3 月 6 日

編集済み:

2018 年 3 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by