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 find maximum value in a worksheet

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
manesh Posted - 06/22/2007 : 06:29:30 AM
Origin Version (Select Help-->About Origin): 7.0
Operating System:XP

Dear all,
I am very new into origin programing. I am trying learn by trying to solve some problems. At the moment, I got stuck with something described below.
I have a worksheet with 4 columns, say a(x), b(y1), c(y2), d(y3). I load some data with 2 columns into a and b using a worksheet script. Then I do some calculation in the script with column b and get the values into column c. Then the column c has a peak value. Now in the column d, I want to divide column c by the peak value of that column. How to get the peak value of column c? If anyone has an answer that will be appreciated.
thank you,
Manesh
4   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 06/22/2007 : 09:54:47 AM
Look for the description of the sum() function in your programming guide (Help> Programming)...

LabTalk Language Reference> Function Reference> Statistical Function> Statistics on Datasets

Mike Buess
Origin WebRing Member
manesh Posted - 06/22/2007 : 09:38:56 AM
Could you explain how the first two steps works?
manesh Posted - 06/22/2007 : 09:25:46 AM
thanks..now it works fine.
Mike Buess Posted - 06/22/2007 : 08:30:10 AM
sum(col(C));
peakval=sum.max;
col(D)=col(C)/peakval;

Mike Buess
Origin WebRing Member

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