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

14 次查看(过去 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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by