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
 Multi Normalization

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
KAC Posted - 11/18/2004 : 2:30:30 PM
Origin Version (Select Help-->About Origin): 7.5 SR0
Operating System: XP SP1

Hello!

Very simple question, but not for me:)
I have 300 columns in worksheet and i want to normalize all columns on the MAX from each.

It is so boring to do manualy.

Does somebody knows how to do it.


THX.
2   L A T E S T    R E P L I E S    (Newest First)
KAC Posted - 11/18/2004 : 6:09:06 PM
SUPER!!!!!!

THX!!!

it works properly.
easwar Posted - 11/18/2004 : 4:27:20 PM
Hi,

You can do this with LabTalk script such as pasted below. To execute this script, make your worksheet the active page (by clicking and selecting it), then open the Script Window (menu item: Window->Script Window), then copy and paste all lines of code from below, select/highlight all the lines in the script window, and press Enter.

Easwar
OriginLab


// get number of columns in wks
numcols=wks.ncols;
// loop over all columns
for( i = 1; i <= numcols; i++ )
{
// get stats on col
sum( %( %h, i ) );
// divide col by max value
%( %h, i ) /= sum.max;
}



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