Jump to content

trayres

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by trayres

  1. Hi All,

    I have a long string of comma separated values in scientific notation being returned from a GPIB instrument. Each 2 values in the string makes up the real and imaginary part of a complex number. I'd like to move this data to an array, where each row then becomes one complex number.

    Ex:

    10735E-3,-298E-2, 3031E-3.... (made up numbers)

    So 10735E-3 would be the real part of the first point, -298E-2 would be the imaginary part of the first point, 3031E-3 would be the real part of the second point, etc, etc. There are 401 points (if that helps)

    Could someone point me in the right direction?

    Thanks for your time!

    -Travis

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.