extracting data from text file in matlab -
i'm doing project , need extract info text file. text file looks this:
class="lang-none prettyprint-override"> xfoil version 6.96 calculated polar for: nasa/ames 63a108 mod c airfoil 1 1 reynolds number fixed mach number fixed xtrf = 1.000 (top) 1.000 (bottom) mach = 0.000 re = 0.100 e 6 ncrit = 9.000 alpha cl cd cdp cm top_xtr bot_xtr ------ -------- --------- --------- -------- -------- -------- -8.000 -0.6796 0.09554 0.09079 0.0206 1.0000 0.1151 -7.750 -0.7040 0.08853 0.08376 0.0066 1.0000 0.1196 -7.500 -0.6948 0.08383 0.07912 0.0076 1.0000 0.1227 -7.250 -0.6828 0.08062 0.07590 0.0083 1.0000 0.1279 -7.000 -0.6902 0.07401 0.06912 0.0003 1.0000 0.1357 -6.750 -0.6730 0.07107 0.06625 0.0023 1.0000 0.1410 -6.500 -0.6686 0.06592 0.06093 -0.0017 1.0000 0.1516 -6.250 -0.6594 0.06196 0.05674 -0.0043 1.0000 0.1656 -6.000 -0.6402 0.05873 0.05365 -0.0027 1.0000 0.1722
and info continues.
i need extract numbers , of text.
i looked on similar question , couldent implement on this. help.
thank much!
matlab
No comments:
Post a Comment