DSPRelated.com

Constrained Stability Least Mean Square (CSLMS) algorithm

Started by rira1807 in Matlab DSP13 years ago

Hi, I'm new to the topic of adaptive filters and its implementation in matlab. I want to filtering an 'ECG signal'. can you help me to...

Hi, I'm new to the topic of adaptive filters and its implementation in matlab. I want to filtering an 'ECG signal'. can you help me to implement an adaptive filter using Constrained Stability Least Mean Square (CSLMS) algorithm or this signal in matlab(it is a new algorithm that I find it in the publications) I don't know which the value of(step size) I have to use, filter order, necessa...


Bandpass filter

Started by Ibrahim muhammed in Matlab DSP14 years ago

Hi there, I have a 2d data, with space x time (longitude and time). I need to do a bandpass filter while taking windows on both dimensions....

Hi there, I have a 2d data, with space x time (longitude and time). I need to do a bandpass filter while taking windows on both dimensions. Dimension 1 is space and dimension 2 is time. For space, my window should be between 5.4 to 7, and for time is 1.5 to 4. I started as: data=data(:, :); %1:180 x 1:225 [Ns,Nt]=size( data); Ts=1/4; % each unit of space is 0.25 of a degree T...


Digital Filter Test with LFSR

Started by Thomas Patrick in Matlab DSP19 years ago 2 replies

Hi guys, It is a known fact that LFSR generate flat spectrum, I choosed LFSR to test my 3rd order polyphase comb decimation...

Hi guys, It is a known fact that LFSR generate flat spectrum, I choosed LFSR to test my 3rd order polyphase comb decimation filter with decimation factor of 256. I am wondering what would be the lenght of LFSR ? it should be 4 bit or 8 bit or 10 bit ?? All generate flat spectrum. What c


Filtering Guassian noise with Matlab

Started by tu5752 in Matlab DSP18 years ago 5 replies

Hello all, I'm generating a 1 kHz square wave and adding Guassian noise to obtain a SNR of 0 dB (using Matlab6.5). The task is to design a...

Hello all, I'm generating a 1 kHz square wave and adding Guassian noise to obtain a SNR of 0 dB (using Matlab6.5). The task is to design a filter that will filter out as much noise as possible from the square wave plus noise signal. The sampling frequency is 100kHz. Noise signal: 100.0*randn(1, length(t)) Square wave: 100*square(2*pi*1000*t)


How to make a impulse response using "filter" function

Started by cesar acosta in Matlab DSP16 years ago

hi, im little new using matlab and these is my first post ^^ I have use the function impz to do it and i need to compare with the response...

hi, im little new using matlab and these is my first post ^^ I have use the function impz to do it and i need to compare with the response using filter, but im no relly sure how to do it. with impz N = 40; num = [0.9 -0.45 0.35 0.002]; den = [1 0.71 -0.46 -0.62]; y = impz(num,den,N); what i tryed N = 0:40; num = [0.9 -0.45 0.35 0.002]; den = [1 0.71 -0.46 -0.62]; y = filt...


2D IIR FILTERS

Started by bomk...@yahoo.com in Matlab DSP15 years ago

hello, I am trying to design 2-D IIR filter using SVD and matlab function iirlpnorm. I got two vectors x,y from SVD and applied iirlpnorm to each...

hello, I am trying to design 2-D IIR filter using SVD and matlab function iirlpnorm. I got two vectors x,y from SVD and applied iirlpnorm to each vector and got two 1-D IIR filters their numerators and denominators are (b,a) for x and (b1,a1) for y. now, I do not know how to use those numerators and denominators to design the 2-D IIR filter and how to plot it. PLEASE, some help. thanks


precision loss in the filter implementation

Started by Manish Bajpai in Matlab DSP20 years ago

Hi,   When I use filter() function in matlab, I get correct results, but when I write my own code for same, I...

Hi,   When I use filter() function in matlab, I get correct results, but when I write my own code for same, I get resul


Bilinear Transform of besself coefficients leading to instability

Started by nath...@gmail.com in Matlab DSP15 years ago

Hey - Creating a low pass filter with besself, and then using the bilinear transform to design a discrete time equivalent has been leading to...

Hey - Creating a low pass filter with besself, and then using the bilinear transform to design a discrete time equivalent has been leading to instability. [b a] = besself(4,80); [num den] = bilinear(b,a,48000); freqs(b,a) displays a stable, usable filter. However, freqz(den,num,8192,48000) does not. A quick check of the denominator poles, abs(poles(den)) ans = 0.9989...


what is crystal filter ?

Started by in Matlab DSP23 years ago 2 replies

Hi , Does somebody know what is crystal filter ?   Thanks ! ncm  

Hi , Does somebody know what is crystal filter ?   Thanks ! ncm  


3D filtering.

Started by acetone4u2001 in Matlab DSP19 years ago 5 replies

Hi, I am dealing with 3d data. I am supposed to do a 3d fft followed with a 3d butterworth filter. can somebody tell me how to do it ?...

Hi, I am dealing with 3d data. I am supposed to do a 3d fft followed with a 3d butterworth filter. can somebody tell me how to do it ? ( specificaly multidimensional filtering ? ) -Ankur


wiener filtering

Started by "Hi, There" in Matlab DSP18 years ago 5 replies

Hi, There, Anyone use wiener filter to remove noise of one-dimension signals? I appreciate it very much if you can suggest any papers?...

Hi, There, Anyone use wiener filter to remove noise of one-dimension signals? I appreciate it very much if you can suggest any papers? Matleb codes are welcome. Thanks, Frank


filtering?

Started by Maryam Amoui in Matlab DSP17 years ago 5 replies

Hi; How can we filter 2 signals from eachother. for example,I have a signal which is the ECG of mother & also baby toghether,how can I...

Hi; How can we filter 2 signals from eachother. for example,I have a signal which is the ECG of mother & also baby toghether,how can I seperate these two from eachother & also ,how can I separate noise of city voltage? I will be very glad if someone answers me. thanks, maryam


Wn in buttord.

Started by "young.sonny" in Matlab DSP17 years ago 1 reply

Why is there a difference between the value of Wp you enter in buttord and the value of Wn for Butterworth filter with Rp = 3? What is the...

Why is there a difference between the value of Wp you enter in buttord and the value of Wn for Butterworth filter with Rp = 3? What is the purpose of Wn? If it is the ..."corresponding cutoff frequency...", what is Wp, the passband corner frequency and how does it differ/compare with Wn?


Re: Kalman filter

Started by csmc...@gmail.com in Matlab DSP16 years ago

There's a good example here http://www.cs.unc.edu/~welch/kalman/kalmanIntro.html They have an example in the paper, easy to follow, easy to...

There's a good example here http://www.cs.unc.edu/~welch/kalman/kalmanIntro.html They have an example in the paper, easy to follow, easy to program.


usage of z directly

Started by Appalayagari Sreedhar in Matlab DSP21 years ago 1 reply

Hi, in the implementation of the filter H(z) = (sigma)h(n)z^-n; is it possible to directly use this expression and...

Hi, in the implementation of the filter H(z) = (sigma)h(n)z^-n; is it possible to directly use this expression and obtain the frequency response in z domain. thanks in advance. sree.


POCS

Started by Anonymous in Matlab DSP22 years ago

hello to all I want to design a FIR linear phase filter using Projection On Convex Set method. Anybody familiar with...

hello to all I want to design a FIR linear phase filter using Projection On Convex Set method. Anybody familiar with this and if he know how to do that on matlab pls reply me as soon as possible. Thanking You, Ojas


DERIVATE

Started by raffaelemalutta in Matlab DSP22 years ago 1 reply

Hallo evedybody. I'm working with Simulink (discrete time) and I've to derivate a noisy signal. What is the best way to do...

Hallo evedybody. I'm working with Simulink (discrete time) and I've to derivate a noisy signal. What is the best way to do this? Anyone could suggest me a proper choise for cefficients of a derivative filter? (for example: [z(n) + 3z(n-1) -3z(n-2) -z(


ELLIPTIC FILTERS - HELP REQUIRED

Started by camdmag in Matlab DSP20 years ago

Hello I am trying to construct an N-th order bandpass digital elliptic filter using the command: [B,A] = ELLIP(N,Rp,Rs,Wn)...

Hello I am trying to construct an N-th order bandpass digital elliptic filter using the command: [B,A] = ELLIP(N,Rp,Rs,Wn) where Wn is a two- element vector, Wn = [W1 W2] with 0.0 < Wn < 1.0, with 1.0 corresponding to the Nyquist frequency. The parameters Rp


how to disgn a filter

Started by hamzah al-qaisi in Matlab DSP18 years ago

hi i am a student and i have to Design aFIR BSF by using a hamming window with respect to the following equation ...

hi i am a student and i have to Design aFIR BSF by using a hamming window with respect to the following equation (sin(wc1*(n-49))-sin(wc2*(n-49))+sin(pi*(n-49))) /pi*(n-49) is that equation the correct one to use?


filters

Started by dean_cvetkovic in Matlab DSP21 years ago

Hi all, To be honest, I'm a DSP beginner. I'm currently trying to filter 4 channel signals. However, I find it difficult to...

Hi all, To be honest, I'm a DSP beginner. I'm currently trying to filter 4 channel signals. However, I find it difficult to get the plot for filtered signals. Can somebody help me fix this problem. The code is shown below. Thank you in advance.