Hi Haru,
To understand how the time width of the Kaiser window is determined in the context of the pspectrum function in MATLAB, we need to look at several factors, including the sampling frequency, the desired frequency resolution, and the properties of the Kaiser window.However, you mentioned that the expected time width is supposed to be 20.52 μs. This discrepancy suggests that additional context or parameters might be influencing the calculation, such as the way the pspectrum function internally adjusts the window length or the effect of the Leakage parameter.The Leakage parameter affects the window's mainlobe width and can influence the effective time width. A higher leakage value typically results in a narrower mainlobe (higher frequency resolution) but with higher sidelobe levels.
Hope this helps.
