summaryrefslogtreecommitdiff
path: root/macros/dwt.sci
diff options
context:
space:
mode:
authorbgtushar2017-11-30 17:33:15 +0530
committerbgtushar2017-11-30 17:33:15 +0530
commit8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36 (patch)
treeb20459680962747b04c5e349df3740111613b47e /macros/dwt.sci
parentd97a4b7e2f0f25fb5cd94bd90a3b822592179d1e (diff)
downloadFOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.tar.gz
FOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.tar.bz2
FOSSEE-Signal-Processing-Toolbox-8e9af4404bedd0fc7ff9c34bf8b794d6b8602b36.zip
deleted html and added new functions
Diffstat (limited to 'macros/dwt.sci')
-rw-r--r--macros/dwt.sci19
1 files changed, 18 insertions, 1 deletions
diff --git a/macros/dwt.sci b/macros/dwt.sci
index 60dc7f6..b564c7c 100644
--- a/macros/dwt.sci
+++ b/macros/dwt.sci
@@ -1,5 +1,22 @@
function [U, V] = dwt(X, varargin)
-
+//Discrete wavelet transform (1D)
+//Calling Sequence
+//[U, V] = dwt(X, WNAME)
+//[U, V] = dwt(X, HP, GP)
+//[U, V] = dwt(X, HP, GP,...)
+//Parameters
+//Inputs:
+//X: Signal Vector.
+//WNAME: Wavelet name.
+//HP: Coefficients of low-pass decomposition FIR filter.
+//GP: Coefficients of high-pass decomposition FIR filter.
+//Outputs:
+//U: Signal vector of average, approximation.
+//V: Signal vector of difference, detail.
+//Description
+//This function calculates the discrete wavelet transform (1D).
+//Examples
+//
funcprot(0);
rhs = argn(2)
if(rhs<2 | rhs>4)