Top "Complex-numbers" questions

Questions about complex numbers (numbers in the form of x + y∙i where i² = -1), types to represent them in programming languages, and libraries to manipulate them

Complex numbers usage in python

I'm a math newbie. Now I'm getting deeper into Python data types. I can't understand how to use a complex …

python complex-numbers
How to work with complex numbers in C?

How can I work with complex numbers in C? I see there is a complex.h header file, but it …

c complex-numbers
Numpy: Creating a complex array from 2 real ones?

I want to combine 2 parts of the same array to make a complex array: Data[:,:,:,0] , Data[:,:,:,1] These don't work: x = …

python arrays numpy complex-numbers
Equivalent of j in NumPy

What is the equivalent of Octave's j in NumPy? How can I use j in Python? In Octave: octave:1> …

python numpy complex-numbers
How to plot complex numbers (Argand Diagram) using matplotlib

I'd like to create an Argand Diagram from a set of complex numbers using matplotlib. Are there any pre-built functions …

python numpy matplotlib plot complex-numbers
How to use complex number "i" in C++

I am coding a simple DFT algorithm now and I want to use the complex number i in complex exponential. …

c++ overloading complex-numbers complextype
Python Numpy - Complex Numbers - Is there a function for Polar to Rectangular conversion?

Is there a built-in Numpy function to convert a complex number in polar form, a magnitude and an angle (degrees) …

python numpy complex-numbers
C complex number and printf

How to print ( with printf ) complex number? For example, if I have this code: #include <stdio.h> #include &…

c printf complex-numbers
Formatting Complex Numbers

For a project in one of my classes we have to output numbers up to five decimal places.It is …

python formatting number-formatting complex-numbers
FFT real/imaginary/abs parts interpretation

I'm currently learning about discret Fourier transform and I'm playing with numpy to understand it better. I tried to plot …

numpy signal-processing fft complex-numbers dft