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
 Normalize matrixes

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
thomaspreuth Posted - 05/13/2008 : 03:44:09 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 05/14/2008 : 11:34:53 AM
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;



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