Parcourir la source

leave the proper sin transition length of 8

Fernando Pablo Lopez-Lezcano il y a 10 ans
Parent
commit
67dbcabf37
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sphear_fir_design.m

+ 1 - 1
sphear_fir_design.m

@@ -234,7 +234,7 @@ function [FIR] = sphear_fir_design(F, A2BF, n, maxboost, Fs, Fl, plot_on, W, X,
 	%% 16 leads to bigger phase shift, 4 starts to impact negatively
 	%% the flattness of the frequency response
 	%%
-	N = 16;
+	N = 8;
 	M = size(IR)(1);
 	R = 0.5 + (0.5 * sin(pi * ((1:(2*N)) - N) / (2 * N)));
 	ramp = [zeros(M/2 - N + 1, 1); R'; ones(M/2 - N, 1)];