Filter löschen
Filter löschen

How to retain a Complex Dirichlet?

4 Ansichten (letzte 30 Tage)
Wei-Min Chen
Wei-Min Chen am 12 Mär. 2019
Kommentiert: Wei-Min Chen am 12 Mär. 2019
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 Kommentare
Torsten
Torsten am 12 Mär. 2019
So you want x to be complex-valued in
d = diric(x,n)
?
Wei-Min Chen
Wei-Min Chen am 12 Mär. 2019
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by