Documentos de Académico
Documentos de Profesional
Documentos de Cultura
299004_142
Actividad 10 Trabajo Colaborativo No 2.
Presentado por:
Cristhian Enrique Caballero
Cd. 13871131
TUTOR
Ana Isabel Bolaos
no en ambas.
Involucran un compromiso entre el roll-off y el ripple. Cuanto mayor es el
ripple permitido, mas rpido es el roll-off.
2. Herramientas para el anlisis de filtros digitales.
a) Investigue acerca de la herramienta FVtool de MatLab.
fvtool
Herramienta de Visualizacin Filter (FVTool)
Syntax
fvtool(b,a)
fvtool(sos)
fvtool(b1,a1,b2,a2,...bN,aN)
fvtool(sos1,sos2,...,sosN)
fvtool(Hd)
fvtool(Hd1,Hd2,...,HdN)
h=fvtool(...)
fvtool (b, a) se abre FVTool y muestra la respuesta en magnitud del filtro digital
definido con numerador, b y el denominador, un. Usando FVTool puede mostrar la
respuesta de fase, el retardo de grupo, la respuesta al impulso, respuesta de paso,
la trama de polos y ceros, y los coeficientes del filtro. Puede exportar la respuesta
aparece a un archivo con Archivo> Exportar.
Nota: Si la entrada al fvtool es de precisin simple, la respuesta de magnitud se
calcula utilizando la aritmtica de precisin simple.
VTOOL (sos ) FVTool abre y muestra la respuesta en magnitud del filtro digital se
define con la matriz de secciones de segundo orden , sos . SOS es una matriz de
K - por - 6 , donde el nmero de secciones , K , debe ser mayor que o igual a 2 . Si
el nmero de secciones es inferior a 2 , fvtool considera la entrada a ser el vector
de numerador , b . Cada fila de SOS corresponde a los coeficientes de un
segundo orden ( biquad ) de filtro . El i-sima fila de la matriz corresponde a SOS [
bi ( 1 ) bi ( 2 ) bi ( 3 ) ai ( 1 ) ai ( 2 ) ai ( 3 ) ] .
fvtool ( b1, a1, b2 , a2, ... Bn, aN ) FVTool abre y muestra las respuestas de
magnitud de varios filtros definidos con numeradores , B1 ... B1N y denominadores
, a1 ... an.
fvtool ( SOS1 , SOS2 , ..., sosN ) FVTool abre y muestra las respuestas de
magnitud de varios filtros definidos con matrices de segundo orden de la seccin ,
SOS1 , SOS2 , ... sosN .
fvtool ( Alta Definicin ) FVTool abre y muestra las respuestas de magnitud para el
objeto dfilt filtro, Hd, o el conjunto de objetos de filtro dfilt .
fvtool ( hd1, HD2 , ..., HDN) FVTool abre y muestra las respuestas en magnitud de
los filtros de los objetos dfilt HD1 , HD2 , ... HDN .
Si usted tiene el DSP System Toolbox producto instalado, tambin puede
utilizar fvtool (H ) y fvtool (H1 , H2 , ...) para analizar :
Objetos de filtro cuantificada ( dfilt con la aritmtica est en modo " single" o
"fijo" )
Filtro ( mfilt ) objetos Multirate
Filtro adaptativo ( adaptfilt ) objetos
Cualquiera de los siguientes objetos del sistema de filtro.
Los siguientes objetos de sistema de filtro son compatibles con esta funcin de
anlisis.
ilter System objects
dsp.FIRFilter
dsp.FIRInterpolator
dsp.CICInterpolator
dsp.FIRDecimator
dsp.CICDecimator
dsp.FIRRateConverter
dsp.BiquadFilter
dsp.IIRFilter
dsp.AllpoleFilter
dsp.AllpassFilter
dsp.CoupledAllpassFilter
ARITH puede ser uno de ' doble' , 'single' o ' fija ' . La entrada ' Aritmtica' slo es
relevante para el anlisis de los objetos del sistema de filtro. La aritmtica
establecer ARITH , se aplica a todos los objetos del sistema de filtro que de
entrada a fvtool . Cuando se especifica ' doble' o 'single' , la funcin realiza el
anlisis de doble o simple precisin . Cuando se especifica "fijo" , la aritmtica
cambia dependiendo de la configuracin de la propiedad CoefficientDataType y si
el objeto del sistema est bloqueado o desbloqueado.
Detalles para la aritmtica de punto fijo
Si no se especifica el clculo de estructuras no - CIC , y el objeto del sistema est
en un estado desbloqueado , la funcin utiliza la aritmtica de doble precisin . Si
el objeto del sistema est bloqueada , la funcin realiza el anlisis basado en el
tipo de datos de entrada de bloqueo. Estructuras CIC solo soportan aritmtica de
punto fijo .
Anlisis de los mtodos noisepsd y freqrespest tienen restricciones de
comportamiento en fvtool . Para ver las reglas, haga clic en los enlaces a estos
mtodos.
h = fvtool (... ) devuelve un identificador h figura. Usted puede utilizar este
identificador para interactuar con FVTool desde la lnea de comandos. Consulte
Control FVTool desde la lnea de comandos de MATLAB.
Description
Restore default view. This view displays buffer regions around the data and shows only significant data.
To see the response using standard MATLAB plotting, which shows all data values, use View > Full
View.
Toggle legend
Toggle grid
Link to FDATool (appears only if FVTool was started from FDATool)
Toggle Add mode/Replace mode (appears only if FVTool was launched from FDATool)
con
Description
To see the zero-phase response, right-click the y-axis label of the Magnitude plot and select Zerophase from the context menu.
Phase response of the current filter. See
Superimposes the magnitude response and the phase response of the current filter. See freqz for
more information.
Shows the group delay of the current filter. Group delay is the average delay of the filter as a function of
frequency. See grpdelay for more information.
Shows the phase delay of the current filter. Phase delay is the time delay the filter imposes on each
component of the input signal. See phasedelay for more information.
Impulse response of the current filter. The impulse response is the response of the filter to a impulse
input. Seeimpz for more information.
Step response of the current filter. The step response is the response of the filter to a step input.
See stepz for more information.
Pole-zero plot, which shows the pole and zero locations of the current filter on the z-plane.
See zplane for more information.
Filter coefficients of the current filter, which depend on the filter structure (e.g., direct-form, lattice, etc.)
in a text box. For SOS filters, each section is displayed as a separate filter.
Detailed filter information.
Analysis String
alysis Type
Analysis String
Magnitude plot
'magnitude'
Phase plot
'phase'
`freq'
'grpdelay'
`phasedelay'
'impulse'
'step'
Pole-zero plot
'polezero'
Filter coefficients
'coefficients'
Filter information
'info'
'magestimate'
information)
Round-off noise power
(available only with the DSP System Toolbox product, see noisepsd for more
'noisepower'
information)
Example 1
Display the magnitude response of an elliptic filter, starting FVTool from the command line:
[b,a]=ellip(6,3,50,300/500);
fvtool(b,a);
Example 2
Display and analyze multiple FIR filters, starting FVTool from the command line. Then, display the associated
analysis parameters for the magnitude:
b1 = firpm(20,[0 0.4 0.5 1],[1 1 0 0]);
b2 = firpm(40,[0 0.4 0.5 1],[1 1 0 0]);
fvtool(b1,1,b2,1);
Example 3
Create a lowpass, equiripple filter of order 20 in FDATool and display it in FVTool.
fdatool
% Start FDATool
Parameter
Setting
Response Type
Lowpass
Design Method
FIR Equiripple
Filter Order
Specify order: 20
Density factor
16
Normalized (0 to 1)
Wpass
0.4
Wstop
0.5
Example 4
Create an elliptic filter and use some of FVTool's figure handle commands:
[b,a]=ellip(6,3,50,300/500);
h = fvtool(b,a);
set(h,'Analysis','phase')
set(h,'Legend','on')
% Turn legend on
legend(h,'Phase plot')
get(h)
PointerShapeHotSpot: [1 1]
Position: [360 292 560 345]
Renderer: 'painters'
RendererMode: 'auto'
Resize: 'on'
ResizeFcn: ''
SelectionType: 'normal'
Toolbar: 'auto'
Units: 'pixels'
WindowButtonDownFcn: ''
WindowButtonMotionFcn: ''
WindowButtonUpFcn: ''
WindowStyle: 'normal'
BeingDeleted: 'off'
ButtonDownFcn: ''
Children: [15x1 double]
Clipping: 'on'
CreateFcn: ''
DeleteFcn: ''
BusyAction: 'queue'
HandleVisibility: 'on'
HitTest: 'on'
Interruptible: 'on'
Parent: 0
Selected: 'off'
SelectionHighlight: 'on'
Tag: 'filtervisualizationtool'
UIContextMenu: []
UserData: []
Visible: 'on'
AnalysisToolbar: 'on'
FigureToolbar: 'on'