MATLAB 帮助中心
Add elementary lifting steps
Since R2021a
lsn = addlift(lscheme,els)
lsn = addlift(lscheme,els,loc)
lsn = addlift(lscheme,els) appends the array of elementary lifting steps els to the lifting scheme object lscheme.
lsn
lscheme
els
lsn = addlift(lscheme,els,loc) inserts the array of elementary lifting steps els in the lifting scheme lscheme at the specified location loc.
loc
example
collapse all
Create a lifting scheme associated with the db2 wavelet.
db2
lscheme = liftingScheme('Wavelet','db2')
lscheme = Wavelet : 'db2' LiftingSteps : [3 × 1] liftingStep NormalizationFactors : [1.9319 0.5176] CustomLowpassFilter : [ ] Details of LiftingSteps : Type: 'predict' Coefficients: -1.7321 MaxOrder: 0 Type: 'update' Coefficients: [-0.0670 0.4330] MaxOrder: 1 Type: 'predict' Coefficients: 1 MaxOrder: -1
Create an array that consists of two elementary lifting steps.
elsA = liftingStep('Type','predict',... 'Coefficients',[-sqrt(3) 1],'MaxOrder',0); elsB = liftingStep('Type','update',... 'Coefficients',[2 sqrt(2)],'MaxOrder',0); els = [elsA;elsB];
Insert the array at the second position.
loc = 2; lsn = addlift(lscheme,els,loc)
lsn = Wavelet : 'custom' LiftingSteps : [5 × 1] liftingStep NormalizationFactors : [1.9319 0.5176] CustomLowpassFilter : [ ] Details of LiftingSteps : Type: 'predict' Coefficients: -1.7321 MaxOrder: 0 Type: 'predict' Coefficients: [-1.7321 1] MaxOrder: 0 Type: 'update' Coefficients: [2 1.4142] MaxOrder: 0 Type: 'update' Coefficients: [-0.0670 0.4330] MaxOrder: 1 Type: 'predict' Coefficients: 1 MaxOrder: -1
liftingScheme
Lifting scheme, specified as a liftingScheme object.
Lifting steps, specified as a structure.
length(lscheme.LiftingSteps)
Location to add the lifting steps in lscheme, specified as a positive integer between 1 and length(lscheme.LiftingSteps) inclusive.
If loc is 1, the lifting steps are inserted at the beginning of the lifting scheme.
If loc is length(lscheme.LiftingSteps), the lifting steps are added at the end of the lifting scheme.
If loc is greater than 1 and less than length(lscheme.LiftingSteps), the lifting steps are inserted after the (loc-1)th step of lsc.
lsc
Data Types: double
double
Lifting scheme, returned as a liftingScheme object.
expand all
Introduced in R2021a
liftingStep | liftingScheme | deletelift
liftingStep
deletelift
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处