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
 Partial integration value

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
kensa Posted - 09/28/2005 : 9:52:41 PM
Origin Version (Select Help-->About Origin): 7.0
Operating System: Windows XP

I have a table including X, Y values(2 dimension)
I want to find the 10% point,X of integration value by origin program.
plz, help me!
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 09/29/2005 : 07:40:28 AM
See your programming guide... Help > Programming.

Mike Buess
Origin WebRing Member
kensa Posted - 09/29/2005 : 12:07:51 AM
thank you very much~!
it's very helpful to me...
thanks~~!!!

how can I learn the programming for origin?
it's a C program???
Mike Buess Posted - 09/28/2005 : 11:10:38 PM
I think the script below will do what you want. Just copy it to your script window, select all lines and execute by pressing Enter. A column will be created for the integral curve.

integrate col(2); // integrate column 2
# integral values go to the hidden dataset _integ_area, final area to integ.area
wo -a 1; // add a column
col(3)=_integ_area; // save integral curve to column 3
get col(3) -e npt; // how many points in integral?
loop (i,1,npt) {
# find 10% point
if(col(3)[i]>integ.area/10) break;
};
type "area: $(integ.area)";
type "10% point: $(i)";
type "X[$(i)]: $(col(1)[i])";
del -as; // delete _integ_area dataset

Mike Buess
Origin WebRing Member

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