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 for Programming
 LabTalk Forum
 Normalize matrix

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
tib Posted - 10/28/2003 : 2:50:08 PM
Hi there,
I thought this would be a simple task but I couldn't find anything in the help and I'm tired of trial and error.
I have a matrix active. If I type
limit %C; (or %H which is obviously the same)
limit.ymax=
I get the maximum value.
And now I wanted to normalize it
%C=%C/limit.ymax
But this doesn't work.
However, when I type Matrix1=Matrix1/0.123 this works.
But in a script what to do?
Thanks, Tilman.


2   L A T E S T    R E P L I E S    (Newest First)
tib Posted - 10/28/2003 : 3:07:28 PM
Hi Easwar, many thanks!
Maybe you could add such an example in the next version of LabTalk Help?
I couldn't find anything useful when I searched for 'normalize'.
Then this really would be a helpful help file
Tilman.

easwar Posted - 10/28/2003 : 2:58:11 PM
Hi Tilman,

Just use
%c/=limit.ymax
or
%h/=limit.ymax

Easwar
OriginLab.


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