T O P I C R E V I E W |
111anusiaa |
Posted - 03/19/2008 : 3:20:22 PM Origin Version (Select Help-->About Origin): 6.1 Operating System: WinXP
Hi, Does somebody know if I can add white noise to my data in Origin 6.1? I have found command for Origin 8 but it seems to not work in 6.1. (http://www.originlab.com/www/helponline/Origin8/en/origin.htm):
white_noise Category: Mathematics Brief Information Add white (Gaussian) noise to data Command Line Usage 1. white_noise ix:=Col(1); 3. white_noise ix:=Col(1) level:=5; 4. white_noise ix:=Col(1) level:=10 ox:=Col(2);
Description This function adds random Gaussian noise on input data. Anna
|
1 L A T E S T R E P L I E S (Newest First) |
larry_lan |
Posted - 03/20/2008 : 03:51:54 AM Hi Anna:
You can write LabTalk script to implement that. For example, supposed you have some data, say Col(A), add two columns, Col(B) and Col(C), and fill Col(B) by Normal Random Numbers. Then run this script to generate Col(C), which add 5% noise to Col(A):
sum(col(b)); if( sum.max > abs(sum.min) ) { aa = sum.max; }; else { aa = abs(sum.min); }; col(c) = col(a) * ( 1 + col(b)/aa * 0.05 );
Thanks Larry OriginLab Technical Services |
|
|