Skip to contents

Blackman-Harris window for FFT

Usage

window_blackman_harris(n)

Arguments

n

length of the window vector (integer)

Value

window

Examples

window_blackman_harris(100)
#>   [1] 0.0000600000 0.0001175345 0.0002968395 0.0006180167 0.0011145550
#>   [6] 0.0018332912 0.0028343195 0.0041908171 0.0059887450 0.0083263828
#>  [11] 0.0113136504 0.0150711734 0.0197290530 0.0254253057 0.0323039502
#>  [16] 0.0405127277 0.0502004574 0.0615140423 0.0745951567 0.0895766634
#>  [21] 0.1065788227 0.1257053706 0.1470395579 0.1706402489 0.1965381904
#>  [26] 0.2247325632 0.2551879309 0.2878316977 0.3225521804 0.3591973883
#>  [31] 0.3975745933 0.4374507518 0.4785538225 0.5205750000 0.5631718614
#>  [36] 0.6059723963 0.6485798662 0.6905784160 0.7315393343 0.7710278407
#>  [41] 0.8086102590 0.8438614215 0.8763721387 0.9057565622 0.9316592687
#>  [46] 0.9537618966 0.9717891721 0.9855141805 0.9947627494 0.9994168364
#>  [51] 0.9994168364 0.9947627494 0.9855141805 0.9717891721 0.9537618966
#>  [56] 0.9316592687 0.9057565622 0.8763721387 0.8438614215 0.8086102590
#>  [61] 0.7710278407 0.7315393343 0.6905784160 0.6485798662 0.6059723963
#>  [66] 0.5631718614 0.5205750000 0.4785538225 0.4374507518 0.3975745933
#>  [71] 0.3591973883 0.3225521804 0.2878316977 0.2551879309 0.2247325632
#>  [76] 0.1965381904 0.1706402489 0.1470395579 0.1257053706 0.1065788227
#>  [81] 0.0895766634 0.0745951567 0.0615140423 0.0502004574 0.0405127277
#>  [86] 0.0323039502 0.0254253057 0.0197290530 0.0150711734 0.0113136504
#>  [91] 0.0083263828 0.0059887450 0.0041908171 0.0028343195 0.0018332912
#>  [96] 0.0011145550 0.0006180167 0.0002968395 0.0001175345 0.0000600000