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
 sums in "set column values"

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
_emma_ Posted - 10/30/2013 : 06:02:30 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 8
Operating System: Win 8

Hello,
I hope you can help me with the following problem: I have a dataset with two columns I(a) and a. Now I want to transform these data according to:

n=0,1,2,3.. k=0,1,2,3...

I know, that there is the function "sum" when I open "set column values". But how do I tell Origin to sum up every I(a)-value for the first S(v)-value? How do I seperate the two x-variables?
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 10/31/2013 : 11:11:01 AM
Hi emma,

> my pc isn't able to cope with my 30000 data points...

Origin should be able to easily contain in a worksheet, and handle 30000 rows unless your computer's
resource is extremely limited. Maybe the best way is to send your data and talk to the technical
support of OriginLab, referring to this forum post.

--Hideo Fujii
OriginLab
_emma_ Posted - 10/31/2013 : 10:40:35 AM
Thank you very much. That helped a lot. The only problem is, that my pc isn't able to cope with my 30000 data points...
Hideo Fujii Posted - 10/30/2013 : 2:55:11 PM
Hi emma,

As your formula has essentially double-loop, you probably need to save the intermediate result in an
temporary column, and run a script similar to the following sample:
Da=1;
NN=5;
for(k=1; k<=NN; k++) {
  for(n=1; n<=NN; n++)
    col(Intermed)[n]=col(I)[n*Da]*exp(col(kDv)[k]*n*Da);
  sum(col(Intermed));
  col(S)[k]=sum.total;
}

Here, Sum function takes this intermediate column as the argument, and it produces the basic statistics,
including the total (in the sum.total object).

You can put the script in the "Before Formula Script" box in the Set Column Values tool to take advantage
of recalculation as in the following screenshot:



Hope this helps.

--Hideo Fujii
OriginLab

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