×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Any idea to get values from this file type

Any idea to get values from this file type

Any idea to get values from this file type

(OP)
Hi
 
If anyone know please help me out in solving this problem. I have a
file which is having around 140 columns in it. I need to read a few
columns from it and i must draw some graohs or do some operatioons on
the columns. The file format is not defined in Matlab. So i thought
of using sscanf('Line','%s %s %f %f ....'). But is it wise to specify
140 columns like this and get the data. I am a beginner in Matlab. So
i donno wether there are anyother methods to read such type of data.
So please help me out. I am giving a sample line of data. its only
one row in the file. I am also having headers for this line as column
names.
 
TRUE 1 FALSE 0 TRUE SPM-X AH32 -85.864900000E-03
-50.688010000E-03 -85.864918051E-03 -0.341235231E-03 TRUE
-85.864926765E-03 0.989400000E+00 2.220000000E+00 TRUE
-85.864909630E-03 0.999600000E+00 1.790000000E+00 TRUE
-85.864903042E-03 0.999900000E+00 3.830000000E+00 TRUE
-85.864921545E-03 0.998300000E+00 0.620000000E+00 TRUE
-85.864892657E-03 0.970200000E+00 0.180000000E+00 TRUE
-85.864915469E-03 0.999500000E+00 0.240000000E+00 TRUE
-85.864906279E-03 0.689400000E+00 0.030000000E+00 TRUE
-85.864905199E-03 0.997200000E+00 2.070000000E+00 TRUE
-85.864937587E-03 0.997500000E+00 1.270000000E+00 TRUE
-85.864480710E-03 0.257200000E+00 0.000000000E+00 TRUE
-85.864912938E-03 0.999600000E+00 1.470000000E+00 TRUE
-85.864932233E-03 0.999200000E+00 0.090000000E+00 TRUE
-85.864924973E-03 0.973500000E+00 0.020000000E+00 TRUE
-85.864921723E-03 0.999100000E+00 0.010000000E+00 TRUE
-85.864889405E-03 0.109900000E+00 0.000000000E+00 TRUE
-85.864968080E-03 0.999500000E+00 1.180000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00 FALSE
-0.341235231E-03 0.000000000E+00 0.000000000E+00
 
Thanks in adavance
Lakshmi Prasanna Kolluru

RE: Any idea to get values from this file type

Maybe you try the import wizzard.
From file menu choose "import data..." and
then select the file and column separator (in your case space) and follow the further steps.

Cheers

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now