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
 White noise in Origin 6.1
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

111anusiaa

Poland
Posts

Posted - 03/19/2008 :  3:20:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

larry_lan

China
Posts

Posted - 03/20/2008 :  03:51:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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