Close
Close window
PoissonWindow - 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

PoissonWindow

multiply an array of samples by a Poisson windowing function

Calling Sequence

PoissonWindow( A, alpha )

Parameters

A

-

Array of real or complex numeric values; the signal

alpha

-

real numeric constant

Options

container : Array, predefined Array for holding results

inplace : truefalse, specifies that output should overwrite input

Description

The PoissonWindow( A, alpha ) command multiplies the Array A by the Poisson windowing function, with parameter α, and returns the result in an Array having the same length.

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

wk=ⅇα2kN1

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[PoissonWindow] command is thread-safe as of Maple 18.

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

Examples

>

withSignalProcessing:

>

N1024:

>

aGenerateUniformN,1,1

a0.995867573674919,0.408337529411819,0.167610888327636,−0.246858837322246,0.432866472071836,−0.439979858216147,0.432901310269353,0.481379433115581,−0.477697063372826,0.0288390346482901,0.121298888322326,−0.347901581305424,−0.417575321932189,−0.377487291266245,−0.957241696004090,−0.106224023010499,−0.153815988427697,−0.796037529927613,0.914456672624718,−0.838266016849289,0.780798342992182,0.264941104331734,0.307568462467303,0.759836566745563,−0.0974062939840268,−0.738299079939469,−0.222411502459510,−0.790666567452535,0.479324116036899,−0.926660717719720,0.158096275557107,−0.270853780765762,0.662332445466727,−0.744445672422478,−0.478385013373665,−0.0621887851286065,0.172013089695077,−0.591466642712960,−0.671336703895487,0.621614486337707,−0.571712331523940,0.729500236463803,0.927596094164525,−0.166740832401267,−0.232738235376916,0.747897344476724,−0.390875342827815,−0.824422433563177,0.419102838543417,0.519515359664100,0.339253361707115,0.544663757892689,−0.790555218506194,−0.626662143370472,0.809291667387941,0.112528634479680,−0.594205220415586,−0.547543621943336,0.917705395677354,−0.719336755784793,0.797753419286497,−0.0410473111353908,−0.460116401375612,0.221890072130439,−0.372704340753435,−0.0865302486005877,−0.958873433799482,0.104950403128197,−0.960985163666299,−0.555279271724625,−0.728221283327371,−0.159194410764132,−0.0496779615156940,0.887333813842765,0.955854138274286,0.294842910032204,0.727087873584634,−0.941265508088898,−0.936975655971576,−0.761605592710214,−0.518730224597855,−0.338608480594198,−0.455934113149177,0.520442334745367,0.154686897427569,0.532024301217215,0.0391812730885115,−0.210772442317735,0.726914650621525,0.832612093819426,0.511782993769936,−0.0407688232327275,−0.827512086732588,−0.429504782480848,−0.697198097083888,−0.0173380781534870,−0.335721179041430,0.843225187896704,0.546950585326249,0.590849398058455,,⋯ 924 Array entries not shown

(1)
>

PoissonWindowa,1.23

0.291784826283440,0.119928867701225,0.0493457766825537,−0.0728517124902550,0.128052587655618,−0.130469960376969,0.128679676376353,0.143433935782273,−0.142679073468568,0.00863439181598063,0.0364041737838820,−0.104663218500506,−0.125926122872007,−0.114110778193590,−0.290060949539683,−0.0322651528464875,−0.0468334106683264,−0.242957983354293,0.279771897603977,−0.257078726723368,0.240030531936857,0.0816432475437020,0.0950070985972759,0.235276076069015,−0.0302334649640186,−0.229708229765840,−0.0693657036732300,−0.247186217843223,0.150211603313988,−0.291097368472979,0.0497831634071950,−0.0854946773593575,0.209567305929520,−0.236115139447037,−0.152093871644925,−0.0198193563794980,0.0549518471586184,−0.189406282346349,−0.215500280581686,0.200019298361594,−0.184404560376446,0.235864651428188,0.300635081650394,−0.0541708981737392,−0.0757940533293201,0.244147741755800,−0.127906413133375,−0.270425206907125,0.137803832688654,0.171231007151450,0.112086034226796,0.180384470689594,−0.262449773740481,−0.208540676138357,0.269963910871418,0.0376276430570703,−0.199169922515126,−0.183970987914460,0.309084499482747,−0.242856380034303,0.269978552339113,−0.0139247891528222,−0.156464189105804,0.0756359794521413,−0.127349821139340,−0.0296377455098221,−0.329216674847452,0.0361200192828753,−0.331530790998287,−0.192026856909839,−0.252439437604318,−0.0553178097990871,−0.0173039101853754,0.309820993169679,0.334548247767156,0.103443009804147,0.255705862804805,−0.331825114819225,−0.331107288510891,−0.269782566909065,−0.184191097735171,−0.120522529582044,−0.162673128635938,0.186135698348099,0.0554566855820598,0.191194403497456,0.0141145024530294,−0.0761104313013030,0.263121963695747,0.302106256292467,0.186142773021419,−0.0148638676483346,−0.302427531117920,−0.157346941987232,−0.256029389474005,−0.00638231019968107,−0.123879378103147,0.311894109206939,0.202793960759116,0.219597326315334,,⋯ 924 Array entries not shown

(2)
>

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

>

PoissonWindowArray1..N,fill=1,datatype=float8,order=C_order,0.72,container=c

0.487437232831397,0.488123173629150,0.488810079709706,0.489497952431447,0.490186793154670,0.490876603241584,0.491567384056315,0.492259136964911,0.492951863335339,0.493645564537494,0.494340241943196,0.495035896926199,0.495732530862186,0.496430145128778,0.497128741105537,0.497828320173962,0.498528883717499,0.499230433121539,0.499932969773426,0.500636495062451,0.501341010379864,0.502046517118873,0.502753016674644,0.503460510444308,0.504168999826962,0.504878486223672,0.505588971037474,0.506300455673381,0.507012941538382,0.507726430041445,0.508440922593521,0.509156420607549,0.509872925498454,0.510590438683151,0.511308961580553,0.512028495611565,0.512749042199096,0.513470602768054,0.514193178745354,0.514916771559918,0.515641382642679,0.516367013426585,0.517093665346599,0.517821339839704,0.518550038344904,0.519279762303230,0.520010513157739,0.520742292353521,0.521475101337697,0.522208941559426,0.522943814469906,0.523679721522376,0.524416664172124,0.525154643876480,0.525893662094829,0.526633720288610,0.527374819921316,0.528116962458500,0.528860149367780,0.529604382118835,0.530349662183417,0.531095991035345,0.531843370150515,0.532591801006897,0.533341285084544,0.534091823865590,0.534843418834254,0.535596071476846,0.536349783281765,0.537104555739507,0.537860390342663,0.538617288585927,0.539375251966094,0.540134281982067,0.540894380134857,0.541655547927590,0.542417786865503,0.543181098455955,0.543945484208424,0.544710945634513,0.545477484247952,0.546245101564602,0.547013799102457,0.547783578381644,0.548554440924435,0.549326388255239,0.550099421900612,0.550873543389261,0.551648754252039,0.552425056021957,0.553202450234183,0.553980938426044,0.554760522137031,0.555541202908801,0.556322982285183,0.557105861812174,0.557889843037951,0.558674927512866,0.559461116789456,0.560248412422441,,⋯ 924 Array entries not shown

(3)
>

u`~`logFFTc:

>

useplotsindisplayArraylistplotℜu,listplotℑuend use



Compatibility

The SignalProcessing[PoissonWindow] command was introduced in Maple 18.

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

See Also


Download Help Document

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