1
votes

hello i would like to ask how to generate the complex signal f(T)=exp^(jOmegaT), j=sqrt(-1), in C++. thanks very much.

enter code here
You can use std::exp with complex numbers. For example, std::exp(std::complex<double>(0, 2*M_PI)).jtbandes