# What is the equation used for taylor window function 'taylorwin'

13 views (last 30 days)
Palguna Gopireddy on 13 Aug 2022
Commented: Chunru on 18 Aug 2022
I am unable to find which function is used in MATLAB for taylor window function taylorwin. I opened the function. THere are many if else blocks. But I am unable to identify which equation is used in it.

David Goodmanson on 16 Aug 2022
Edited: David Goodmanson on 18 Aug 2022
Hi Palguna,
The equations are in the attachment. rect(t) is a rectagle function, = 1 for -1/2<= t <= 1/2, 0 otherwise. That's intended to describe a continous function. For an N-point discrete window, the function is evaluated at N equally spaced points between and including
-1/2 +1/(2N) and 1/2 -1/(2N).
The reference is a freely available Sandia report, SAND2017-4042, Catalog of Window Taper Functions
for Sidelobe Control, Armin W. Doerry. You should be able to find these same expressions in taylorwin.

Chunru on 16 Aug 2022
The formulation of Taylor windown is a bit more complicated and not directly documented in "doc taylorwin". One reference is: H.L. Van Trees, Optimum Array Processing, Sec 3.4.3, John Wiley, 2002

Palguna Gopireddy on 17 Aug 2022
Are you sure the same function is used in matlab also.
I am confused to assume, which one to take.
Chunru on 18 Aug 2022
The above equation is not complete as β is not specified so I have no idea whethe it is right or wrong. You are recommended to look for more reliable reference when in doubt (books and journal papers may be more reliable than conference articles in general). The formula given by @David Goodmanson above (with less details) and the van Tree's book (with detailed derivation and expanation) are similar. They also agree with MATLAB implementation.