Mercurial > hg > smallbox
comparison util/Rice Wavelet Toolbox/midwt.mhelp @ 78:f69ae88b8be5
added Rice Wavelet Toolbox with my modification, so it can be compiled on newer systems.
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Fri, 25 Mar 2011 15:27:33 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
76:d052ec5b742f | 78:f69ae88b8be5 |
---|---|
1 function [y,L] = midwt(x,h,L); | |
2 % [x,L] = midwt(y,h,L); | |
3 % | |
4 % Function computes the inverse discrete wavelet transform x for a 1D or | |
5 % 2D input signal y using the scaling filter h. | |
6 % | |
7 % Input: | |
8 % y : finite length 1D or 2D input signal (implicitly periodized) | |
9 % (see function mdwt to find the structure of y) | |
10 % h : scaling filter | |
11 % L : number of levels. In the case of a 1D signal, length(x) must be | |
12 % divisible by 2^L; in the case of a 2D signal, the row and the | |
13 % column dimension must be divisible by 2^L. If no argument is | |
14 % specified, a full inverse DWT is returned for maximal possible | |
15 % L. | |
16 % | |
17 % Output: | |
18 % x : periodic reconstructed signal | |
19 % L : number of decomposition levels | |
20 % | |
21 % 1D Example: | |
22 % xin = makesig('LinChirp',8); | |
23 % h = daubcqf(4,'min'); | |
24 % L = 1; | |
25 % [y,L] = mdwt(xin,h,L); | |
26 % [x,L] = midwt(y,h,L) | |
27 % | |
28 % 1D Example's output: | |
29 % | |
30 % x = 0.0491 0.1951 0.4276 0.7071 0.9415 0.9808 0.6716 0.0000 | |
31 % L = 1 | |
32 % | |
33 % See also: mdwt, mrdwt, mirdwt | |
34 % | |
35 | |
36 % | |
37 % | |
38 %File Name: midwt.m | |
39 %Last Modification Date: 08/07/95 15:13:52 | |
40 %Current Version: midwt.m 2.4 | |
41 %File Creation Date: Wed Oct 19 10:51:58 1994 | |
42 %Author: Markus Lang <lang@jazz.rice.edu> | |
43 % | |
44 %Copyright (c) 2000 RICE UNIVERSITY. All rights reserved. | |
45 %Created by Markus Lang, Department of ECE, Rice University. | |
46 % | |
47 %This software is distributed and licensed to you on a non-exclusive | |
48 %basis, free-of-charge. Redistribution and use in source and binary forms, | |
49 %with or without modification, are permitted provided that the following | |
50 %conditions are met: | |
51 % | |
52 %1. Redistribution of source code must retain the above copyright notice, | |
53 % this list of conditions and the following disclaimer. | |
54 %2. Redistribution in binary form must reproduce the above copyright notice, | |
55 % this list of conditions and the following disclaimer in the | |
56 % documentation and/or other materials provided with the distribution. | |
57 %3. All advertising materials mentioning features or use of this software | |
58 % must display the following acknowledgment: This product includes | |
59 % software developed by Rice University, Houston, Texas and its contributors. | |
60 %4. Neither the name of the University nor the names of its contributors | |
61 % may be used to endorse or promote products derived from this software | |
62 % without specific prior written permission. | |
63 % | |
64 %THIS SOFTWARE IS PROVIDED BY WILLIAM MARSH RICE UNIVERSITY, HOUSTON, TEXAS, | |
65 %AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | |
66 %BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
67 %FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RICE UNIVERSITY | |
68 %OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
69 %EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
70 %PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
71 %OR BUSINESS INTERRUPTIONS) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
72 %WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
73 %OTHERWISE), PRODUCT LIABILITY, OR OTHERWISE ARISING IN ANY WAY OUT OF THE | |
74 %USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
75 % | |
76 %For information on commercial licenses, contact Rice University's Office of | |
77 %Technology Transfer at techtran@rice.edu or (713) 348-6173 | |
78 % | |
79 %Change History: | |
80 % | |
81 %Modification #1 | |
82 %Mon Aug 7 11:52:33 CDT 1995 | |
83 %Rebecca Hindman <hindman@ece.rice.edu> | |
84 %Added L to function line so that it can be displayed as an output | |
85 % | |
86 %Thu Mar 2 13:07:11 CDT 2000 | |
87 %Ramesh Neelamani<neelsh@ece.rice.edu> | |
88 %Revamped the help file | |
89 % | |
90 | |
91 | |
92 | |
93 |