Main Content

deletelift

Delete elementary lifting steps

Since R2021a

    Description

    lsn = deletelift(lscheme) deletes the last elementary lifting step from the lifting scheme lsc.

    lsn = deletelift(lscheme,loc) deletes the elementary lifting steps at the positions specified by loc.

    example

    Examples

    collapse all

    Create a lifting scheme associated with the db3 wavelet.

    lsc = liftingScheme('Wavelet','db3')
    lsc = 
     	 Wavelet               : 'db3' 
    	 LiftingSteps          : [4 × 1] liftingStep 
    	 NormalizationFactors  : [2.3155 0.4319] 
    	 CustomLowpassFilter   : [  ] 
    
    
     Details of LiftingSteps :
                Type: 'predict'
        Coefficients: -2.4255
            MaxOrder: 0
    
                Type: 'update'
        Coefficients: [-0.0793 0.3524]
            MaxOrder: 1
    
                Type: 'predict'
        Coefficients: [2.8953 -0.5614]
            MaxOrder: -1
    
                Type: 'update'
        Coefficients: 0.0198
            MaxOrder: 2
    
    

    The lifting scheme has four elementary lifting steps. Delete the second step.

    lsc2 = deletelift(lsc,2)
    lsc2 = 
     	 Wavelet               : 'custom' 
    	 LiftingSteps          : [3 × 1] liftingStep 
    	 NormalizationFactors  : [2.3155 0.4319] 
    	 CustomLowpassFilter   : [  ] 
    
    
     Details of LiftingSteps :
                Type: 'predict'
        Coefficients: -2.4255
            MaxOrder: 0
    
                Type: 'predict'
        Coefficients: [2.8953 -0.5614]
            MaxOrder: -1
    
                Type: 'update'
        Coefficients: 0.0198
            MaxOrder: 2
    
    

    Input Arguments

    collapse all

    Lifting scheme, specified as a liftingScheme object.

    Positions of the elementary lifting steps, specified as a positive integer or vector of positive integers specified in the range [1,N], where N is the number of steps in the lifting scheme.

    Example: lschemeB = deletelift(lschemeA,[2 4]) deletes the second and fourth steps from the lifting scheme lschemeA.

    Data Types: double

    Output Arguments

    collapse all

    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