How to read a text file into an array

I want to read the text file attached to this post into an array. It contains both numbers and words but I just want to read the numbers only into the array.

 採用された回答

Cris LaPierre
Cris LaPierre 2020 年 11 月 11 日

0 投票

See the Import Text Files documentation page.

その他の回答 (0 件)

カテゴリ

質問済み:

2020 年 11 月 11 日

回答済み:

2020 年 11 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by