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
 Normalize matrixes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

thomaspreuth

Switzerland
Posts

Posted - 05/13/2008 :  03:44:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System: Windows 2000

Hello Forummembers,

I am searching for an idea how to normalize values in a matrix.
Does anybody know a solution?
Have already searchd the forum, but did not find an appropriate answer yet.
Thanks in advance,
thomas

greg

USA
1379 Posts

Posted - 05/14/2008 :  11:34:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can do math on a matrix the same way you can with a dataset. The question is : How do you want to Normalize?
Normalize to a range? (Like 0 to 1 or -1 to 1 or 0 to 100 ..)
Divide by a value? (like Maximum, Minimum or Standard Deviation)

There is a function that will help get some basic values:
sum(matrix1);
SUM.MAX=;
SUM.MEAN=;
SUM.MIN=;
SUM.SD=;

With that, you could do something like:
matrix1-=SUM.MIN;
matrix1/=(SUM.MAX-SUM.MIN);
which would normalize the matrix to the range 0 to 1.

The notation
matrix1-=SUM.MIN;
is shorthand for
matrix1=matrix1-SUM.MIN;


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