Plotting a Text File
Show older comments
I have a text file that has the following format:
The number of actual data points (numbers) could change, and the number of monte carlo runs will also change. How do I read in just the data so I can plot the result each monte carlo run. My real file has 10 monte carlo runs, but as i say it could vary.
#This: Nominal
14.65237
4.80927
0.71514
-1.35440
-1.81233
0.00000
1.81233
1.35440
-0.71514
-4.80927
-14.65237
#This: Monte Carlo File 1
18.33824
8.40410
4.29287
2.21007
1.82274
3.68949
5.60809
5.30485
3.25214
-0.81918
-10.60571
#This: Monte Carlo File 2
14.26151
3.24402
-0.82643
-2.87751
-3.25818
-1.38665
0.52075
0.20150
-1.88288
-5.99502
-15.82859
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!