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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Impedance - Complex number quotient
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

marcos.marva

1 Posts

Posted - 02/25/2019 :  03:16:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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).

Castiel

343 Posts

Posted - 02/25/2019 :  04:07:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
**********************************************************

Edited by - Castiel on 02/25/2019 04:16:17 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000