SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Signal Processing : Windowing Functions : SignalProcessing/KaiserWindow

SignalProcessing

  

KaiserWindow

  

multiply an array of samples by a Kaiser windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

KaiserWindow(A, alpha)

Parameters

A

-

Array of real or complex numeric values; the signal

alpha

-

numeric parameter for Kaiser windowing function

Options

• 

container : Array, predefined Array for holding results

• 

inplace : truefalse, specifies that output should overwrite input

Description

• 

The KaiserWindow(A, alpha) command multiplies the Array A by the Kaiser windowing function with parameter alpha and returns the result in a Array having the same length. The length of A must be at least 1.

• 

The Kaiser windowing function w with parameter α is defined as follows for a sample with N points.

wk=I0αN2122kN2+122I0αN12

where I0 is a modified Bessel function of the first kind (see BesselI).

• 

For an Array with complex values, the real and imaginary parts are multiplied by the same windowing function.

• 

Before the code performing the computation runs, A is converted to datatype float[8] or complex[8] if it does not have one of those datatypes already. For this reason, it is most efficient if A has one of these datatypes beforehand. This does not apply if inplace is true.

• 

If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of the same size and datatype as A.

• 

If the inplace or inplace=true option is provided, then A is overwritten with the results. In this case, the container option is ignored.

Thread Safety

• 

The SignalProcessing[KaiserWindow] command is thread-safe as of Maple 17.

• 

For more information on thread safety, see index/threadsafe.

Examples

withSignalProcessing:

aGenerateUniform10,1,1

0.99586757367491940.40833752941181880.16761088832763580.246858837322246340.432866472071836040.439979858216147270.432901310269353250.48137943311558130.477697063372825750.028839034648290067

(1)

KaiserWindowa,0

0.99586757367491940.40833752941181880.16761088832763580.246858837322246340.432866472071836040.439979858216147270.432901310269353250.48137943311558130.477697063372825750.028839034648290067

(2)

KaiserWindowa,0.23

0.77422369153171110.351942235965391370.155573098221891440.24039477180496130.43159905043377360.43869160877066410.42156567220812890.446806830852771560.41172255912823160.0224205149919848

(3)

KaiserWindowa,4.2

6.67427691095439310-80.000462031426810326460.0076164270490670620.086295592215120690.386274998280820240.39262273689756540.151331325001865660.0218744221919475660.0005405113169273671.932784118846379810-9

(4)

cArray1..10,datatype=float8,order=C_order:

KaiserWindowa,0.03,container=c

0.99134560768828630.40721537825492090.167375803450204220.246734164643932970.432842178975590630.43995516590632130.43268267938547610.480704267998558250.47638430548578390.028708084372154788

(5)

c

0.99134560768828630.40721537825492090.167375803450204220.246734164643932970.432842178975590630.43995516590632130.43268267938547610.480704267998558250.47638430548578390.028708084372154788

(6)

aGenerateTone100,1,1π,π:

useplotsindisplayArraylistplota,listplotKaiserWindowa,0.2;animatelistplot,'KaiserWindow'a,α,α=1..1end use

Compatibility

• 

The SignalProcessing[KaiserWindow] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

SignalProcessing[BartlettWindow]

SignalProcessing[BlackmanWindow]

SignalProcessing[HammingWindow]

SignalProcessing[HannWindow]