ricedsp / rwt

The Rice Wavelet Toolbox (RWT) is a collection of Matlab M-files and C MEX-files for 1D and 2D wavelet and filter bank design, analysis, and processing. The toolbox provides tools for denoising and interfaces directly with our Matlab code for wavelet domain hidden Markov models and wavelet regularized deconvolution.
http://dsp.rice.edu
Other
135 stars 47 forks source link

inputs other than double real matrices are silently processed wrong #12

Open mborgerding opened 7 years ago

mborgerding commented 7 years ago

At least raise an error. e.g. inside rwt_matlab_init

  if ( !mxIsDouble(prhs[0]) || mxIsComplex(prhs[0]) )
      rwt_errormsg("input must be a double real matrix");