Read in integer values from .txt file

1 vue (au cours des 30 derniers jours)
Benjamin Cai
Benjamin Cai le 15 Nov 2019
I have a long list of numbers, how I am able to read this numbers and store them into array
17.3695
-2.4689
-7.5794
5.6635
-8.1444
-2.8155
18.3094
-2.9392
-15.5383
7.8862
1.4196
-2.8001
13.5078
-4.8509
-15.9727
10.9095
4.7908
-7.6174
5.0398
-3.2274
-12.3372
11.9530
8.6603
-13.9603
-0.1294
3.9876
-6.9950
9.4958
5.3284
-16.1049
0.5033
13.7825
-5.8637
0.4984
5.0905
-14.4201
1.4647
16.4723
-9.7189
-5.6749

Réponses (1)

Walter Roberson
Walter Roberson le 15 Nov 2019
data = load('NameOfTheFile.txt');

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by