How to retain a Complex Dirichlet?

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 Commenti

Torsten
Torsten il 12 Mar 2019
So you want x to be complex-valued in
d = diric(x,n)
?
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

Accedi per commentare.

Risposte (0)

Tag

Richiesto:

il 12 Mar 2019

Commentato:

il 12 Mar 2019

Community Treasure Hunt

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

Start Hunting!

Translated by