Diff of /wavelets/wfilt_matlabwtwrapper.m [77a22a] .. [95fe2b]  Maximize  Restore

Switch to side-by-side view

--- a/wavelets/wfilt_matlabwtwrapper.m
+++ b/wavelets/wfilt_matlabwtwrapper.m
@@ -1,34 +1,34 @@
-function [h,g,a] = wfilt_matlabwtwrapper(wname)
-%WFILT_MATLABWTWRAPPER Wrapper of the Matlab Wavelet Toolbox wfilters function
-%   Usage: [h,g,a] = wfilt_matlabwtwrapper(wname);
-%
-%   '[h,g,a]=wfilt_matlabwtwrapper(wname)` calls Matlab Wavelet Toolbox
-%   function wfilters and passes the parameter *wname*. This function
-%   requires the Matlab Wavelet Toolbox.
-%
-%   Examples:
-%   ---------
-%
-%   Check if the official Matlab Wavelet Toolbox is present then plot frequency 
-%   responses of the `'coif4'` analysis filters:::  
-%
-%      v = ver;
-%      if(any(strcmp('Wavelet Toolbox', {v.Name})))
-%         w = fwtinit({'matlabwtwrapper','coif4'});
-%         wtfftfreqz(w.h);
-%      end
-%
-
-a = [2,2];
-[lo,hi,lo_s,hi_s] = wfilters(wname);
-
-h=cell(2,1);
-h{1} = lo;
-h{2} = hi;
-    
-
-if(nargout>1)
-    g=cell(2,1);
-    g{1} = lo_s;
-    g{2} = hi_s;
-end
+function [h,g,a] = wfilt_matlabwtwrapper(wname)
+%WFILT_MATLABWTWRAPPER Wrapper of the Matlab Wavelet Toolbox wfilters function
+%   Usage: [h,g,a] = wfilt_matlabwtwrapper(wname);
+%
+%   '[h,g,a]=wfilt_matlabwtwrapper(wname)` calls Matlab Wavelet Toolbox
+%   function wfilters and passes the parameter *wname*. This function
+%   requires the Matlab Wavelet Toolbox.
+%
+%   Examples:
+%   ---------
+%
+%   Check if the official Matlab Wavelet Toolbox is present then plot frequency 
+%   responses of the `'coif4'` analysis filters:::  
+%
+%      v = ver;
+%      if(any(strcmp('Wavelet Toolbox', {v.Name})))
+%         w = fwtinit({'matlabwtwrapper','coif4'});
+%         wtfftfreqz(w.h);
+%      end
+%
+
+a = [2,2];
+[lo,hi,lo_s,hi_s] = wfilters(wname);
+
+h=cell(2,1);
+h{1} = lo;
+h{2} = hi;
+    
+
+if(nargout>1)
+    g=cell(2,1);
+    g{1} = lo_s;
+    g{2} = hi_s;
+end

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks