フィルターのクリア

how to read float numbers from a text file and store them with the current format in to an array?

19 ビュー (過去 30 日間)
hello evaryone ,
I have a text file and want to read the data from it line by line
the data are float numbers , instead of the first column which is int.
I want to read all these float numbers and store them in to an array and next use them in a formula ,
i do appreciate if you help me

採用された回答

Stephen23
Stephen23 2019 年 2 月 22 日
M = dlmread('GAZE1.txt')
  4 件のコメント
Stephen23
Stephen23 2019 年 2 月 23 日
@shabnam sh: please upload a sample file.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by