<< Integer_Wavelet_Transform_ToolBox Integer_Wavelet_Transform_ToolBox four2 >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > cubicbspline

cubicbspline

It performs cubicbspline integer wavelet transform

Calling Sequence

[A,D] = cubicbspline(x)

Arguments

x

A vector representing a 1-d discrete signal whose samples are integers.

A

A vector representing the approximation part of the integer transform.

D

A vector representing the detail part of the integer transform.

Description

It computes the approximation and detail integer parts for a 1-d integer signal using cubicbspline integer wavelet transform. The lengths of the approximation and detail parts is equal to the ceiling of the half of length of the input signal.

Examples

// Discrete 1-d integer signal
    x=[5 6 8 9 2];
// Approximation and detail parts in integer
    [A,D]=cubicbspline(x)
// gives a  = [24.    21.    2.]
// and d = [-1.  5.  1. ]

Authors

<< Integer_Wavelet_Transform_ToolBox Integer_Wavelet_Transform_ToolBox four2 >>