fvtool
(To be removed) Visualize filter bank
The fvtool
function will be removed in a future release. Use
visualize
instead.
Description
Examples
View octaveFilterBank
in FVTool
Create an octaveFilterBank
object. Call fvtool
to visualize the filter bank.
octFiltBank = octaveFilterBank; fvtool(octFiltBank)
ans = Figure (filtervisualizationtool) with properties: Number: [] Name: 'Figure 1: Magnitude Response (dB)' Color: [0.9400 0.9400 0.9400] Position: [348 376 583 437] Units: 'pixels' Use GET to show all properties
To visualize a subset of filters in the filter bank, specify the second argument as a row vector of indices between one and the number of filters in the filter bank. If not specified, fvtool
visualizes 1 to N filters of the filter bank, where N is the smallest of octFiltBank.NumFilters
and 64
. Visualize the ninth filter.
fvtool(octFiltBank,9)
ans = Figure (filtervisualizationtool) with properties: Number: [] Name: 'Figure 2: Magnitude Response (dB)' Color: [0.9400 0.9400 0.9400] Position: [1 1 1024 657] Units: 'pixels' Use GET to show all properties
To specify the number of points in the frequency response, use the N
name-value argument. Specify that the frequency response contains 8192 points.
fvtool(octFiltBank,N=8192)
ans = Figure (filtervisualizationtool) with properties: Number: [] Name: 'Figure 3: Magnitude Response (dB)' Color: [0.9400 0.9400 0.9400] Position: [348 376 583 437] Units: 'pixels' Use GET to show all properties
View gammatoneFilterBank
in FVTool
Create a gammatoneFilterBank
object. Call fvtool
to visualize the filter bank.
gammaFiltBank = gammatoneFilterBank; fvtool(gammaFiltBank);
To visualize a subset of filters in the filter bank, specify the second argument as a row vector of indices between one and the number of filters in the filter bank. If not specified, fvtool
visualizes 1 to N filters of the filter bank, where N is the smallest of gammaFiltBank.NumFilters
and 64
. Visualize the ninth filter.
fvtool(gammaFiltBank,9);
To specify the number of points in the frequency response, use the N
name-value argument. Specify that the frequency response contains 8192 points.
fvtool(gammaFiltBank,N=8192);
Input Arguments
obj
— Object to get filter frequency responses from
gammatoneFilterBank
| octaveFilterBank
Object to get filter frequency responses from, specified as an object of gammatoneFilterBank
or octaveFilterBank
.
ind
— Indices of filters to calculate frequency responses from
1:max(N,64)
(default) | row vector of integers with values in the range [1, N]
Indices of filters to calculate frequency responses from, specified as a row vector
of integers with values in the range [1, N]. N is
the total number of filters designed by obj
.
n
— Number of points
8192
(default) | positive integer
Number of points used to visualize the filters, specified as a positive integer.
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
Version History
Introduced in R2019aR2024b: To be removed
The fvtool
function will be removed in a future release. Use
visualize
instead.
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)