Article - CS401987

Reading complex numbers from a text file (1 complex floating point value per line) into a vector using READFILE() or READTEXT() works fine, except that lines 500, 1000, 1500, etc. get just the real part, miss the complex part in Mathcad Prime

Modified: 26-Sep-2023   


Applies To

  • Mathcad Prime 9.0

Description

  • Reading complex numbers from a text file (1 complex floating point value per line) into a vector using READFILE() or READTEXT() works fine, except that lines 500, 1000, 1500, etc. get just the real part, miss the complex part
  • How to retrieve complex numbers from a text file
  • Falsely read complex numbers from a textfile
This is a printer-friendly version of Article 401987 and may be out of date. For the latest version click CS401987