DSPRelated.com
Forums

LP filter..

Started by zkhodakaramiii June 20, 2007
hi colleagues...

i have generated a random signal in matlab with normal distribution
(my code is written below). my signal is high frequency and i want
to filter it to have lower frequencies at about 1/300 dont know what matlab code should i write? would be a person who can
help me please??

Thanks & Regards,
ZKh.

***************************

my code:

y=random('Normal',0,1,1,2000); % generates 2000 points
with normal distribution.

s=minmax(y);
smin=s(1); smax=s(2);
max 0; min=-200;
yy=(max-min)/(smax-smin)*(y-smin)+min; % maps y-range to -200:200