Reading complex numbers from Excel
Show older comments
Hi,
I have an excel sheet which has one column consisting of series of rows filled with complex numbers
eg:
-0.00340875447356980 - 0.143829744894360i
0.00826437724550120 - 0.0203601960662560i
0.0175899073253476 + 0.0143665796766208i
I have two variables 'a' and 'b'. I would like to import all the real values from the excel sheet to 'a' and all the imaginary values to 'b'.
Accepted Answer
More Answers (1)
zhou qin
on 30 Sep 2022
0 votes
excellent!
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!