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
indexing
New Topic
Reply to Topic
Printer Friendly
Author
Topic
zaskar
Germany
1 Posts
Posted - 09/29/2010 : 06:27:39 AM
Hi, is there any way to adress the row index number within colums to do such an easy thing like: col(b) values= (col(a)i) - (col(a)i-1)...
so in this case to substract the former value i-1 of a column from the actual value i of the same or any other column?
many thanks in advance!
minimax
348 Posts
Posted - 09/30/2010 : 04:56:47 AM
Hi Eric,
You may make use of the Set Column Values tool (a context menu when right click on a whole column).
Fill formula
col(a)[i+1]-col(a)[i]
Or you can use a built-in function to do the calculation:
diff(col(a))
Hope it helps.
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000