commit : denoise lib first iteration

This commit is contained in:
Rafat Hussain
2017-08-07 06:40:11 +05:30
parent d29e08d06b
commit 4b80222408
5 changed files with 82 additions and 13 deletions

View File

@@ -1,7 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "../header/wavelib.h"
#include "denoise.h"
int compare_double(const void* a, const void* b)
{
@@ -144,12 +142,3 @@ void visushrink(double *signal,int N,char *wname,char *method,char *ext,char *th
wave_free(wave);
wt_free(wt);
}
int main(void)
{
double x[10] = { 1123.78,234,40,-34,-56.89,98,0.2,23.9,-1236.3,3.14};
printf("Mad %g \n",mad(x,10));
}