The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Impedance - Complex number quotient

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
marcos.marva Posted - 02/25/2019 : 03:16:30 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: Windows 10

I know it sounds too basic but I want to calculate impedance, that involves calculating the quotient of two columns of complex numbers (I mean, the quotient cell to cell) that I have got by using the fft() function. My problem seems to be with the imdiv() function (I am using OriginPro Trial version).

I type

=imdiv(2+3*i, -1+i)

in a cell. When I press INTRO, I've got an error "incorrecto numer of arguments passed to the function imdiv" and

=imdiv(2+3*i, -1+i)

has changed into

=imdiv(2+3*i. -1+i)

That is, the comma has been changed by a dot. Perhaps it has to do with the variable type (but I don't know how to fix it).
1   L A T E S T    R E P L I E S    (Newest First)
Castiel Posted - 02/25/2019 : 04:07:44 AM
quote:
Originally posted by marcos.marva

Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: Windows 10

I know it sounds too basic but I want to calculate impedance, that involves calculating the quotient of two columns of complex numbers (I mean, the quotient cell to cell) that I have got by using the fft() function. My problem seems to be with the imdiv() function (I am using OriginPro Trial version).

I type

=imdiv(2+3*i, -1+i)

in a cell. When I press INTRO, I've got an error "incorrecto numer of arguments passed to the function imdiv" and

=imdiv(2+3*i, -1+i)

has changed into

=imdiv(2+3*i. -1+i)

That is, the comma has been changed by a dot. Perhaps it has to do with the variable type (but I don't know how to fix it).



Menu Tools > Options > Numeric Format:

Set the Separators as "1,000.0" should solve the problem.

Edit: imdiv(2+3*i, -1+i) is different from imdiv(2+3i, -1+1i). "i" in the former one is the row index. You should not use Cell Formula in this case for complex number can be displayed in one cell correctly unless the format is numeric and the data type is complex while cell formula works only when the format is text & numeric.


                                          &&&&&&&&&
                                        &&&
                                       &&
                                      &  _____ ___________
                                     II__|[] | |   I I   |
                                    |        |_|_  I I  _|
                                   < OO----OOO   OO---OO
**********************************************************

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000