www.pudn.com > MATLAB.rar > Almacenar_Filtro_LPC1769.m, change:2014-09-30,size:903b


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
% 
% 
%   Archivo : Almacenar_Filtro_LPC1769.m 
% 
%   Descripcion: Invierte el orden del  
% 
%   Autor: Roux, Federico G. (froux@favaloro.edu.ar) 
% 
%   Laboratorio de Microprocesadores 
%   FICEN Universidad Favaloro, 2013 
% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
 
function Almacenar_Filtro_LPC1769(coeficientes, archivo) 
 
coef_inv = fliplr(coeficientes);                                            % Invierto el orden de los coeficientes del filtro 
 
flen_filtro = 15; 
 
T_FILTRO = numerictype( 'Signed', true, ... 
                        'WordLength', 32, ... 
                        'FractionLength', flen_filtro); 
                     
Guardar_Sen_Archivo__Binario_Hexa(archivo, coef_inv, T_FILTRO);             % Guardo el archivo con las muestras del filtro 
 
 
 
end