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
 How to indicate a imaginary value in Oringin?

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
phu00659 Posted - 07/31/2008 : 02:54:12 AM
As title,
but I cannot find any function to indicate that,
I wonder if it is proformed by a special letter or something else..

thanks for any reply.
5   L A T E S T    R E P L I E S    (Newest First)
radoslavb Posted - 08/26/2008 : 11:34:47 AM
Thanks!
cpyang Posted - 08/25/2008 : 8:13:02 PM
LabTalk arithmetics currently does not support complex dataset yet, and we can consider adding that in the next version.

For now you have to use X-Function from LabTalk, as what Shirley was pointing out.

For the simple case you described, do the following

vri2c col(A) col(B) col(C);

You can find out more about this XF by

vri2c -h;

You can find out more about other vector related XF by

lx v*;

CP
radoslavb Posted - 08/25/2008 : 4:54:38 PM
(I have OriginPro 8 SP2)
Suppose col(A) contains the real part and col(B) contains the imaginary part of the data. Can I create col(C) of type Complex(16) and fill it with the complex values A+Bi ?
cpyang Posted - 08/04/2008 : 9:29:54 PM
Once you have change a column to be complex, you can then type complex numbers as follows

1+2i

where the suffix i will denote the imaginary part of a number.
You can experiment with this yourself and try like

1
2i

etc as well. If you put in a value in the wrong format, you will get --, the missing value.


CP
Shirley_GZ Posted - 07/31/2008 : 11:50:52 PM
Hi Nilsross,

Would you mind tell us which version of Origin you are using?

In Origin 8.0, you can highlight the column and right-click to choose the Properties from the fly-out menu to bring up the Column Properties dialog. You can select Numeric for the Format item and Complex (16) for the Data Type item in the Options area. Click Ok and then a range of complex values can set in this column.

The detail about this function can be seen from Help: Origin> Workbooks, Worksheets and Worksheet Columns > Reference > Reference: The Worksheet Properties Dialog Box

There is also an X-function can be used to constructs a complex vector from the real parts and imaginary parts of the complex numbers: vri2c.

The user guide of this X-function can be seen from Help: X-function > Data Manipulation > vri2c.

Any problem, please contact with us!

Shirley

Originlab Technical Service Team

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