addlift
Description
Examples
Insert Elementary Lifting Steps
Create a lifting scheme associated with the db2
wavelet.
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
Input Arguments
lscheme
— Lifting scheme
liftingScheme
object
Lifting scheme, specified as a liftingScheme
object.
els
— Lifting steps
structure array
Lifting steps, specified as a structure.
loc
— Location
length(lscheme
.LiftingSteps)
(default) | positive integer
lscheme
.LiftingSteps)Location to add the lifting steps in lscheme
, specified as a
positive integer between 1 and
length(
inclusive.lscheme
.LiftingSteps)
If
loc
is 1, the lifting steps are inserted at the beginning of the lifting scheme.If
loc
islength(
, the lifting steps are added at the end of the lifting scheme.lscheme
.LiftingSteps)If
loc
is greater than 1 and less thanlength(
, the lifting steps are inserted after the (lscheme
.LiftingSteps)loc
-1)th step oflsc
.
Data Types: double
Output Arguments
lsn
— Lifting scheme
liftingScheme
object
Lifting scheme, returned as a liftingScheme
object.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2021a
See Also
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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)