added matlab
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
function eval_harmonics(name)
|
||||
|
||||
base = exp(1);
|
||||
ke = 10;
|
||||
|
||||
[x, fs, nbits] = wavread(name);
|
||||
|
||||
y = (1 - base.^(-ke*fabs(x))) * sign(x);
|
||||
|
||||
|
||||
wavrite(y, fs, nbits,
|
||||
Reference in New Issue
Block a user