MATLAB Answers

How can the generated complex numbers represented by j instead of i?

조회 수: 2(최근 30일)
Lz Lu
Lz Lu 10 Jun 2020
답변: the cyclist 18 Jun 2020
I need to import data into python. However, imaginary number does not use i in python

  댓글 수: 2

Stephen Cobeldick
Stephen Cobeldick 10 Jun 2020
You can save the data in a .mat file and then use numpy/scipy loadmat.
Lz Lu
Lz Lu 18 Jun 2020
Sorry,I first need to import the data into a csv file before I can proceed to the next step

댓글을 달려면 로그인하십시오.


the cyclist
the cyclist 18 Jun 2020
If z is your complex variable in MATLAB, save the real part
and the imaginary part
separately, and re-construct them in python.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by