How to retain a Complex Dirichlet?

1 次查看(过去 30 天)
Hi,
I'd like to construct a periodic sinc dictionary. And the periodic sinc function in MatLab is "Dirichlet function".
But it seems that the function in the link is only real part.
How can I retain a complex dirichlet function?
Thanks a lot !
  2 个评论
Torsten
Torsten 2019-3-12
So you want x to be complex-valued in
d = diric(x,n)
?
Wei-Min Chen
Wei-Min Chen 2019-3-12
Yes. This is my code, and I am checking if this make sense.
I multiply diric by a phase term exp(1i*2*pi*x).
-60~60 is field of view.
x = linspace(-1,1,1024);
N = 10;
dict = [];
for i=-60:1:60
yd = exp(1i*2*pi*x).*abs(diric((x-i/60)*pi,N));
dict = [dict;yd];
end

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by