MATLAB 도움말 센터
Implementation cost of the complex bandpass decimator
c = cost(cbd)
c = cost(cbd) returns a structure, c, whose fields contain information about the computation cost of implementing the complex bandpass decimator object, cbd.
c
cbd
example
collapse all
Compute the implementation cost of a complex bandpass decimator using the cost function.
cost
Create a dsp.ComplexBandpassDecimator object. Set the DecimationFactor to 12, center frequency to 0.2, and the NormalizedFrequency to true.
dsp.ComplexBandpassDecimator
DecimationFactor
NormalizedFrequency
true
cbp = dsp.ComplexBandpassDecimator(12,0.2,NormalizedFrequency=true)
cbp = dsp.ComplexBandpassDecimator with properties: CenterFrequency: 0.2000 Specification: 'Decimation factor' DecimationFactor: 12 StopbandAttenuation: 80 TransitionWidth: 0.0045 MinimizeComplexCoefficients: true NormalizedFrequency: true
Compute the implementation cost of cbp using the cost function.
cbp
c = cost(cbp)
c = struct with fields: NumCoefficients: 201 NumStates: 379 RealMultiplicationsPerInputSample: 44.3333 RealAdditionsPerInputSample: 43.8333
Filter System object, specified as a dsp.ComplexBandpassDecimator System object.
Cost estimate containing these fields:
Estimated Value
Description
NumCoefficients
Number of filter coefficients (excluding coefficients with values 0, 1 or –1)
NumStates
Number of filter states
RealMultiplicationsPerInputSample
Number of real multiplication operations performed for each input sample
RealAdditionsPerInputSample
Number of real addition operations performed for each input sample
The function assumes that a complex-by-complex multiplication requires 3 real multiplications and 5 real additions.
Introduced in R2018a
freqz
info
visualize
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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의