p(x,y) is defining a periodic function, with period X in the x direction and period Y in the y direction.
How do I convolve a periodic rect function with comb function
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
p(x,y)=rect(2x/X)rect(2y/Y)⊗[comb(x/X)comb(y/Y)]
Réponse acceptée
Plus de réponses (1)
Matt J
le 10 Juin 2022
Another possibility is to download interpMatrix
Here is an example with a comb of sincs, rather than a comb of rects.
x=linspace(-3,+3,601); y=x;
kx=sinc( pi*x );
ky=sinc( pi*y*2 );
Ix=sum(interpMatrix(kx,'max',7,100),2);
Iy=sum(interpMatrix(ky,'max',13,50),2);
surf(x,y , Ix.*Iy','EdgeColor','none')
Voir également
Catégories
En savoir plus sur Assembly dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!