Find the answer to your Linux question:
Results 1 to 2 of 2
Hi , i need a perl script that would do the following. my file contains some 1000 points in this manner Time Voltage 3.0741431574711e-11 -0.00214473156647014 6.88528408855429e-10 -2.11220650713453 1.88010617604e-09 - 0.847165749416181 ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    12

    need a script

    Hi ,
    i need a perl script that would do the following.
    my file contains some 1000 points in this manner

    Time Voltage
    3.0741431574711e-11 -0.00214473156647014
    6.88528408855429e-10 -2.11220650713453
    1.88010617604e-09 - 0.847165749416181
    ..

    all i want is time values to be obtained in ns and the voltage values in V and mv accordingly.
    desired o/p:

    Time voltage
    0.00307nS -2.1447mV
    0.6885nS -2.1122V
    1.8801nS -0.8471V

    Thanks and script needed very badly..

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    HomeWork Assignments are not allowed here. Its against Forum Rules.

    I would suggest you to go through your course book and read tutorials on Perl. Try to write script yourself. If you have any specific problem, start a new thread. We will glad to help you.
    Thread Locked.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...