Low, High, and Band pass filter
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
TTA
el 23 de Sept. de 2019
Comentada: TTA
el 27 de Sept. de 2019
Hi,
Please Help me solve a worrying problem. I want to use low pass, high pass and bandpass filter for the Temperature profile of the attached file. I want to use 10km for the lowpass, 1km for the high pass and 1-10km for the bandpass filters. Any filtering method would do
thanks
9 comentarios
Respuesta aceptada
Shubham Gupta
el 27 de Sept. de 2019
Assuming you can interpolate the data and make altitude to vary at fixed step of 0.02 km and 1km equivalent to 1sec.
To make butterworth filter you can use:
Sampling_Space = 0.02; % km, equivalent to 50 Hz
Low_filt = 10; % km, equivalent to 0.1 Hz
High_filt = 1; % km, equivalent to 1 Hz
Band_filt = [10 1]; % km, equivalent to 0.1Hz to 1Hz
[bl,al] = butter(2,(2*Sampling_Space)/Low_filt,'low');
[bh, ah] = butter(2,(2*Sampling_Space)/High_filt,'high');
[bb, ab] = butter(2,(2*Sampling_Space)/Band_filt,'bandpass');
Now to filter your data :
temperature_low_filtered = filter(bl,al,temperature);
temperature_high_filtered = filter(bh,ah,temperature);
temperature_band_filtered = filter(bb,ab,temperature);
I hope it helps !
Más respuestas (0)
Ver también
Categorías
Más información sobre Filter Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!