How can I get a sinc function like this?
Show older comments
As we know there is a sinc function in matlab which calculates the sinc of the data. But I need to
get a sinc function that look like the image.
what mathematical properties should I change to turn the standard sinc function into one like this?

6 Comments
John D'Errico
on 7 Sep 2014
But that is NOT a sinc function. It looks vaguely like one, but it is not one.
Star Strider
on 7 Sep 2014
It looks like it’s a sinc function multiplied by some sort of envelope function. Since you have the original data, divide (element-wise) your function by the results of sinc(x) shifted to have the same peak to see if you can determine the envelope function. It would be more convenient if you had the original x-values as well.
John D'Errico
on 8 Sep 2014
Actually, no, it does not look like that. Note that a sinc function has positive and negative lobes that are symmetrical around the X-axis. This function clearly has negative lobes that are all identical in magnitude, so sinc(x)*f(x) does NOT apply here. As well, it is shifted in x, since a sinc is symmetrical around zero.
payman khayree
on 8 Sep 2014
Image Analyst
on 8 Sep 2014
Perhaps, but not that I know of. Where did you see it? Did that place give a name for it? (I guess not otherwise you wouldn't be asking us.) It sort of looks like a sinc squared (the diffraction pattern of a thin slit, or a sombrero function (the optical diffraction pattern of a small circular aperture). Search sombrero or the cross section of a see this Wikipedia article
payman khayree
on 8 Sep 2014
Accepted Answer
More Answers (0)
Categories
Find more on Signal Attributes and Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
