Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

complex numbers

Status
Not open for further replies.

zappedagain

Electrical
Jul 19, 2005
1,074
Is there a way to format complex numbers in Excel? I just ran a Fast Fourier Transform (FFT) and the result is a column of complex numbers. Excel shows the real and imaginary parts out to about 13 places so I need a wide column to see it.
 
Replies continue below

Recommended for you

Hi zappedagain:

Just thinking aloud here ... would using

=COMPLEX(real_num,i_num,suffix)

help?




Yogi Anand, D.Eng, P.E.
Energy Efficient Building Network LLC
ANAND Enterprises LLC
 
something like this worked:
=COMPLEX(ROUND(PI(),4),ROUND(PI(),4))

which means that you'll need something like

=complex(round(imreal(YOURVALUE),4),round(imaginary(YOURVALUE),4))

so, decompose to real and imaginary, apply the round function and recompose into imaginary.

TTFN

FAQ731-376


 
It looks like another one of those gaping holes in exel.

Along the lines of what was suggested above.... perhaps you store your complex numbers in column B with a very narrow width (don't even look at C for values), then use imreal() to display real part in column C and imaginary() to display imaginary part in column D... then use normal formatting on columns C and D

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor