Close
Close window
KaiserWindow - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

SignalProcessing

KaiserWindow

multiply an array of samples by a Kaiser windowing function

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

a0.9958675736749190.4083375294118190.167610888327636−0.2468588373222460.432866472071836−0.4399798582161470.4329013102693530.481379433115581−0.4776970633728260.0288390346482901

(1)
>

KaiserWindowa,0

0.9958675736749190.4083375294118190.167610888327636−0.2468588373222460.432866472071836−0.4399798582161470.4329013102693530.481379433115581−0.4776970633728260.0288390346482901

(2)
>

KaiserWindowa,0.23

0.7742236915317110.3519422359653910.155573098221891−0.2403947718049610.431599050433774−0.4386916087706640.4215656722081290.446806830852772−0.4117225591282320.0224205149919848

(3)
>

KaiserWindowa,4.2

6.67427691095439×10−80.0004620314268103260.00761642704906706−0.08629559221512070.386274998280820−0.3926227368975650.1513313250018660.0218744221919476−0.0005405113169273671.93278411884638×10−9

(4)
>

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

>

KaiserWindowa,0.03,container=c

0.9913456076882860.4072153782549210.167375803450204−0.2467341646439330.432842178975591−0.4399551659063210.4326826793854760.480704267998558−0.4763843054857840.0287080843721548

(5)
>

c

0.9913456076882860.4072153782549210.167375803450204−0.2467341646439330.432842178975591−0.4399551659063210.4326826793854760.480704267998558−0.4763843054857840.0287080843721548

(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 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /