Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Complex numbers

I would like to know if there is some possiblities to use
complex variable to do calculation in a subroutine or if
you have to use real number and do the calculation by
yourself.

Thanks very much!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Complex numbers

Complex numbers functions are in the Analysis Toolpak add-in. ToolsAdd-in,
check Analysyis Toolpak and the VBA version.
Look in Help for details, or do a Google Groups search:
http://groups.google.com/advanced_group_search
with the exact phrase "complex numbers" in the groups "*excel*"


--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Alain Turgeon" wrote in message
...
I would like to know if there is some possiblities to use
complex variable to do calculation in a subroutine or if
you have to use real number and do the calculation by
yourself.

Thanks very much!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Complex numbers

the analysis toolpak has some routines for working with complex numbers I
believe.

for example:

the Complex function
and

IMABS Returns the absolute value (modulus) of a complex number

IMAGINARY Returns the imaginary coefficient of a complex number

IMARGUMENT Returns the argument theta, an angle expressed in radians

IMCONJUGATE Returns the complex conjugate of a complex number

IMCOS Returns the cosine of a complex number

IMDIV Returns the quotient of two complex numbers

IMEXP Returns the exponential of a complex number

IMLN Returns the natural logarithm of a complex number

IMLOG10 Returns the base-10 logarithm of a complex number

IMLOG2 Returns the base-2 logarithm of a complex number

IMPOWER Returns a complex number raised to an integer power

IMPRODUCT Returns the product of two complex numbers

IMREAL Returns the real coefficient of a complex number

IMSIN Returns the sine of a complex number

IMSQRT Returns the square root of a complex number

IMSUB Returns the difference of two complex numbers

IMSUM Returns the sum of complex numbers



--

Regards,

Tom Ogilvy



"Alain Turgeon" wrote in message
...
I would like to know if there is some possiblities to use
complex variable to do calculation in a subroutine or if
you have to use real number and do the calculation by
yourself.

Thanks very much!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I format complex numbers ? ks Excel Discussion (Misc queries) 5 April 5th 23 01:14 PM
Operating on Complex Numbers Charles Excel Discussion (Misc queries) 3 May 24th 10 10:50 PM
VBA: Calculating Complex Numbers LenS Excel Discussion (Misc queries) 0 January 8th 07 05:24 PM
Round-down complex numbers nsv Excel Discussion (Misc queries) 7 February 2nd 06 03:37 PM
Matrix operations with complex numbers Veritas Excel Discussion (Misc queries) 1 July 22nd 05 06:30 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"