如何从重建信号中找到近似和细节系数?

时间:2015-08-30 05:40:13

标签: matlab signal-processing dwt

我想分解信号并通过重建该信号尝试从重建信号中找到近似和细节系数。对于分解,我使用单级分解(离散小波变换-Db6),并且对于重建,我使用逆离散小波变换。但是使用public static void close(final Closeable c) { if(c != null) { /* Several classes that were made Closeable in Java 1.7 also * became Closeable in Android API 19, including java.net.Socket * and java.util.Scanner. The fact that the minimum SDK version * is lower than that does not cause a compiler error when objects * of those types are passed to this method, resulting in a * IncompatibleClassChangeError at runtime. Hence this seemingly * pointless test. */ if(c instanceof Closeable) { try { c.close(); } catch (IOException e) { // ignore } } else { Log.debug(TAG, c.getClass().getName() + " does not implement Closeable; attempting reflection"); try { final Method m = c.getClass().getMethod("close"); m.invoke(c); } catch (NoSuchMethodException | IllegalAccessException | IllegalArgumentException e) { // shouldn't happen Log.warn(TAG, "could not close " + c.getClass().getName(), e); } catch (InvocationTargetException e) { // ignore } } } } 我发现只有近似系数。但我想从重建信号中找到细节系数。我怎么能这样做?

idwt

0 个答案:

没有答案