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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Automatic normalization
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

r.banyal

USA
Posts

Posted - 04/27/2007 :  2:43:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System: XP

Hi,
My worksheet has several columns of data. Origion can normalize the data in each column to 1, e.g., by divide data by Maximum value in the column. Is there a way to automatize this process so that origin can perform the normalization on each column separately.

Mike Buess

USA
3037 Posts

Posted - 04/27/2007 :  4:54:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Run this script from the script window or Custom Routine button...

loop(i,1,wks.ncols) {
sum(wcol(i));
wcol(i)/=sum.max;
};

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000