Initial commit

This commit is contained in:
Nikolay Puzanov
2021-02-28 18:59:56 +03:00
parent ff795d2b6e
commit 2fbacc0544
61 changed files with 6063 additions and 0 deletions

9
testbench/fir-magn.m Normal file
View File

@@ -0,0 +1,9 @@
pkg load signal
data = csvread("filtered.txt");
data = data(8:length(data));
spec = abs(fft(data ./ 32768));
len = length(data);
x = 1:len/2;
plot(x ./ len, mag2db(spec(1:len/2)));