Signal Processing Toolbox™Getting Started GuideR2015a
2 Basic Signal Processing Concepts2-2Representing SignalsIn this section...“Numeric Arrays” on page 2-2“Vector Representation” on page 2-2Numeric Arra
Representing Signals2-3y = 4.0000 8.0000 1.2732 3.0000 6.0000 0.9549 7.0000 14.0000 2.2282 -9.0000 -18.0000 -2.8648
2 Basic Signal Processing Concepts2-4Waveform Generation: Time Vectors and SinusoidsMost toolbox functions require you to begin with a vector represen
Impulse, Step, and Ramp Functions2-5Impulse, Step, and Ramp FunctionsSince MATLAB is a programming language, an endless variety of different signals
2 Basic Signal Processing Concepts2-6Multichannel SignalsUse standard MATLAB array syntax to work with multichannel signals. For example, amultichanne
Common Periodic Waveforms2-7Common Periodic WaveformsThe toolbox provides functions for generating widely used periodic waveforms:• sawtooth generate
2 Basic Signal Processing Concepts2-8
Common Aperiodic Waveforms2-9Common Aperiodic WaveformsThe toolbox also provides functions for generating several widely used aperiodicwaveforms:• ga
2 Basic Signal Processing Concepts2-10
The pulstran Function2-11The pulstran FunctionThe pulstran function generates pulse trains from either continuous or sampledprototype pulses. The fol
How to Contact MathWorksLatest news:www.mathworks.comSales and services:www.mathworks.com/sales_and_servicesUser community:www.mathworks.com/matlabcen
2 Basic Signal Processing Concepts2-12
The Sinc Function2-13The Sinc FunctionThe sinc function computes the mathematical sinc function for an input vector ormatrixx. Viewed as a function
2 Basic Signal Processing Concepts2-14
The Dirichlet Function2-15The Dirichlet FunctionThe toolbox function diric computes the Dirichlet function, sometimes called theperiodic sinc or alia
2 Basic Signal Processing Concepts2-16
Working with Data2-17Working with DataData PrecisionAll Signal Processing Toolbox functions accept double-precision inputs. If you inputsingle-precis
2 Basic Signal Processing Concepts2-18Selected BibliographyAlgorithm development for Signal Processing Toolbox functions has drawn heavily uponthe ref
Selected Bibliography2-19Periodograms.” IEEE® Transactions on Audio and Electroacoustics. Vol. AU-15,1967. pp.70–73.
3Design a Filter with fdesign andfilterbuilder• “Filter Design Process Overview” on page 3-2• “Design a Filter Using fdesign” on page 3-3• “Design a F
Revision HistorySeptember 2006 First printing New for Version 6.6 (Release 2006b)March 2007 Online only Revised for Version 6.7 (Release 2007a)Septemb
3 Design a Filter with fdesign and filterbuilder3-2Filter Design Process OverviewNote: You must have the Signal Processing Toolbox installed to use fd
Design a Filter Using fdesign3-3Design a Filter Using fdesignUse the following two steps to design a simple filter.1Create a filter specification obj
3 Design a Filter with fdesign and filterbuilder3-4To create a filter specification object, evaluate the following code at the MATLABprompt:d = fdesig
Design a Filter Using fdesign3-5Design Methods for class fdesign.bandpass (Fst1,Fp1,Fp2,Fst2,Ast1,Ap,Ast2):buttercheby1cheby2ellipequiripplekaiserwin
3 Design a Filter with fdesign and filterbuilder3-6>> BandPassFiltSysObj = design(BandPassSpecObj,...'equiripple','SystemObject&a
Design a Filter Using fdesign3-7
3 Design a Filter with fdesign and filterbuilder3-8Design a Filter Using filterbuilderFilterbuilder presents the option of designing a filter using a
Design a Filter Using filterbuilder3-9Note that the dashed red lines on the preceding figure will only appear if you areusing the DSP System Toolbox
4Filter Design with the FDATool GUI• “Introduction” on page 4-2• “Designing the Filter” on page 4-3• “Analyzing the Filter” on page 4-7• “Designing Ad
4 Filter Design with the FDATool GUI4-2IntroductionThis section describes how to graphically design and implement digital filters using theSignal Proc
Designing the Filter4-3Designing the FilterThis section is a step-by-step introduction to using the Filter Design and AnalysisTool (FDATool) to desig
4 Filter Design with the FDATool GUI4-4Note that when you open FDATool, Design Filter is not enabled. You must makea change to the default filter desi
Designing the Filter4-5Parameter Setting DescriptionFc2 45 Second cutoff frequency (i.e., the frequencyfollowing the passband at which themagnitude r
4 Filter Design with the FDATool GUI4-6Notice that the Design Filter button is disabled after you compute the coefficientsfor your filter design. This
Analyzing the Filter4-7Analyzing the FilterAfter designing the filter, you can view the following filter responses in the display regionby clicking o
4 Filter Design with the FDATool GUI4-8
Designing Additional Filters4-9Designing Additional FiltersYou have designed one of the bands of an octave filter bank. This section shows you howto
4 Filter Design with the FDATool GUI4-10Viewing and Annotating the FilterIn this section...“Viewing the Filter in FVTool” on page 4-10“Using FVTool fo
Viewing and Annotating the Filter4-113Change the x-axis scale to logarithmic by selecting Analysis > AnalysisParameters to display the Analysis Pa
vContentsOverview1Signal Processing Toolbox Product Description . . . . . . . . . . 1-2Key Features . . . . . . . . . . . . . . . . . . . . . . . . .
4 Filter Design with the FDATool GUI4-126Click the Legend button to turn on the legend, which you can drag to thedesired location.
Viewing and Annotating the Filter4-137Click the Legend button again to turn off the legend.Use the Zoom button and drag a rectangle around the first
4 Filter Design with the FDATool GUI4-148Click the Restore Default View button to return to the full view.9Display other responses, as desired. (The
Viewing and Annotating the Filter4-151Use the toolbar buttons to annotate your response plot. Add a line by clicking one ofthe line buttons, and then
4 Filter Design with the FDATool GUI4-16Exporting Filters from FDAToolFDATool provides a simple way to create filter objects (dfilts) from your filter
Exporting Filters from FDATool4-17whos Name Size Bytes Class Attributes Hd1 1x1 dfilt.df2sos
4 Filter Design with the FDATool GUI4-18F = fvtool(Hd,'Analysis','magnitude') % Open FVTool with
Exporting Filters from FDATool4-19
4 Filter Design with the FDATool GUI4-20Designing Filters Using Command Line FunctionsYou can specify and design filters at the command line using fde
Designing Filters Using Command Line Functions4-21To determine which filter design methods are available for a given Filter SpecificationObject, use
vi ContentsSelected Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18Design a Filter with fdesign and filterbuilder3Filt
1Overview
1 Overview1-2Signal Processing Toolbox Product DescriptionPerform signal processing and analysisSignal Processing Toolbox provides functions and apps
2Basic Signal Processing Concepts• “Representing Signals” on page 2-2• “Waveform Generation: Time Vectors and Sinusoids” on page 2-4• “Impulse, Step,
Komentáře k této Příručce