loading a file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

loading a file

Anup Singh
Hi,

My file is not formatted and has many character rows and then data table ending with characters again.
All the data is in one column when I try to open in Excel and after Delimiting using Space I get many columns in the data.

How can i write the code or which command should I use in Octave?

This is how the file contain looks like:

OrientationInstructions "Front ";
CoordinatesMirrored NO;
InspectionOrientation DOWN;
InspectionTest 6;
SampleTestPlan 1
  0 0 ;
AreaPerTest 7.0685800000e+010;
DefectRecordSpec 28 DEFECTID XREL YREL XINDEX YINDEX XSIZE YSIZE DEFECTAREA DSIZE CLASSNUMBER TEST CLUSTERNUMBER ROUGHBINNUMBER FINEBINNUMBER REVIEWSAMPLE HAZEAVERAGE NPPMSIZE POSITION_RCENTROID POSITION_THETACENTROID RPPMSIZE DEFECTSIZE SN_RATIO AREA ASPECT_RATIO POSITION_BOX_THETAEND POSITION_BOX_THETASTART IMAGECOUNT IMAGELIST ;
DefectList
 1 140475.000 166473.000 0 0 0.000 0.000 0.000000 0.027 0 6 0 0 0 0 0.056352 0.010700 19.028542 120.037315 0.108200 0.027800 24.618774 0.000000 0.000000 0.000000 0.000000 0 0
 2 133694.000 163711.000 0 0 0.000 0.000 0.000000 0.027 0 6 0 0 0 0 0.059591 0.009900 21.304394 139.940994 0.101000 0.027400 18.970772 0.000000 0.000000 0.000000 0.000000 0 0
 3 121173.000 146602.000 0 0 0.000 0.000 0.000000 0.030 0 6 0 0 0 0 0.061534 0.016000 29.026581 186.722748 0.156700 0.030200 28.577873 0.000000 0.000000 0.000000 0.000000 0 0 

--
Anup Singh (PhD, Electrical)
Process Engineer, Applied Materials
Santa Clara, Silicon Valley, CA

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave