Skip to content

Instantly share code, notes, and snippets.

@strezh
Created August 21, 2014 11:08
Show Gist options
  • Save strezh/64f6f776b648e38dc385 to your computer and use it in GitHub Desktop.
Save strezh/64f6f776b648e38dc385 to your computer and use it in GitHub Desktop.
%% Calculate coefficients for DCT
dct(eye(8))
%% Calculate coefficients for wavelet
[LoD,HiD,LoR,HiR] = wfilters('db4')
% in coder
LF_coeffs = LoR
HF_coeffs = HiR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment