diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-05-12 13:15:55 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-05-12 13:15:55 +0800 |
commit | 34de475999a22ac7280411e15339e77a0c8dbc2e (patch) | |
tree | 76ecfbe3a8f20d6da8b136dfe78a9e8071075692 /schmidFilter.m | |
download | featext-34de475999a22ac7280411e15339e77a0c8dbc2e.tar.gz featext-34de475999a22ac7280411e15339e77a0c8dbc2e.tar.bz2 featext-34de475999a22ac7280411e15339e77a0c8dbc2e.zip |
initial commit
Diffstat (limited to 'schmidFilter.m')
-rw-r--r-- | schmidFilter.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/schmidFilter.m b/schmidFilter.m new file mode 100644 index 0000000..12d4b30 --- /dev/null +++ b/schmidFilter.m @@ -0,0 +1,5 @@ +function fout = schmidFilter(t,sigma) + sz=fix(4*sigma); + [x,y] = meshgrid(-sz:sz,sz:-1:-sz); + r=sqrt(x.^2+y.^2); + fout = filterNorm(cos((2*pi*t/sigma)*r).*exp(-(r.^2)/(2*sigma^2))); |