how can i read complex numbers from the file:
[
3.2+4.1i 5.3-6.4i;
4.3-9.1i 5.3+5.4i
]
the file has exactly this format and I have problems with the characters... the only way i could think is to read it as char and write two other files with the real and imag part without [,],i,; and the read that files and combine them... any other idea?
[
3.2+4.1i 5.3-6.4i;
4.3-9.1i 5.3+5.4i
]
the file has exactly this format and I have problems with the characters... the only way i could think is to read it as char and write two other files with the real and imag part without [,],i,; and the read that files and combine them... any other idea?