Name

upcoef — Direct Restruction

Calling Sequence

Y=upcoef(type,x,wname,[N],[L])
Y=upcoef(type,x,Lo_R,Hi_R,[N],[L])

Parameters

type
: approximation or detail, 'a' or 'd'.
x
: input vector
wname
: wavelet name
X
: reconstruction
Lo_R
: lowpass synthesis filter
Hi_R
: highpass syntheis filter
N
: restruction level
L
: desired output length

Description

upcoef is for upward reconstruction from any desired input vector.

Examples

  x=rand(1,100);
  [cA,cD]=dwt(x,'db2');
  Y=upcoef('a',cA,'db2',1);
  Z=upcoef('a',cA,'db2',3);
 

Authors

Roger Liu and Isaac Zhi

See Also

wavedec , waverec , wrcoef