Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Gaussian filter problem

Status
Not open for further replies.

tanzil_dhk

Advanced Member level 4
Joined
Aug 9, 2006
Messages
109
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,924
gaussian filter

Hi
i am trying to filter a data set in matrix format using gaussian filter.i take the fourier transform of the data and then multiply with gaussian filter and take the inverse fourier transform of that. Now here is the function i have written(matlab) for gaussian filter design but seems to be not exactly producing correct result. could anyone check the problem in the function below plz.

function g = gauss_des(x,pos,wid)

g = 1/(wid*sqrt(2*pi)) * exp(-.5*((x-pos)/wid).^2)

where pos = centre
width = width of filter
x = digital frequency range of the filter ; for example i have used x =0:.001:.5

Thanks in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top