- #1
da_coolest
- 15
- 0
There is a text document with data separated by the "," sign.
such as 58.5698, 75.2495, 57.1548...
I want to createa vector called Y in MATLAB using these datas. there are 50 values.
i opened the file with the fopen command.
And then tried with the fgetl command. but when I use the "Y(1)" command to get the first value, it produces the number 5 instead of the 58.5698.
Thanks in advance.
such as 58.5698, 75.2495, 57.1548...
I want to createa vector called Y in MATLAB using these datas. there are 50 values.
i opened the file with the fopen command.
And then tried with the fgetl command. but when I use the "Y(1)" command to get the first value, it produces the number 5 instead of the 58.5698.
Thanks in advance.