35S Complex Number Extraction

10102014, 07:33 PM
Post: #6




RE: 35S Complex Number Extraction
(10102014 01:34 AM)Eddie W. Shore Wrote: Extract the real part of a complex number: In this case I would prefer an equation. Either stored in the equation list or within a program. Which has the additional advantage of requiring just one stack register. And the original complex number is even preserved in Y. ABS(REGX)*COS(ARG(REGX)) ABS(REGX)*SIN(ARG(REGX)) But there still is one main problem: the above method is quite straightforward, but its accuracy can be improved. Simply try 1+pi·i – the decomposed results show errors in the last digit:Re=0,999999999997, Im=3,1415926536). Does someone know of an improved method? Dieter 

« Next Oldest  Next Newest »

Messages In This Thread 
35S Complex Number Extraction  Eddie W. Shore  10102014, 01:34 AM
RE: 35S Complex Number Extraction  rprosperi  10102014, 02:45 AM
RE: 35S Complex Number Extraction  Joe Horn  10102014, 03:20 AM
RE: 35S Complex Number Extraction  Thomas Klemm  10102014, 04:10 AM
RE: 35S Complex Number Extraction  Marcus von Cube  10102014, 06:59 AM
RE: 35S Complex Number Extraction  Dieter  10102014 07:33 PM

User(s) browsing this thread: 1 Guest(s)