SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

HannPoissonWindow

  

multiply an array of samples by a Hann-Poisson windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

HannPoissonWindow( 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 HannPoissonWindow( A, alpha ) command multiplies the Array A by the Hann-Poisson windowing function, with parameter α, and returns the result in an Array having the same length.

• 

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

wk=12cos2kπN2ⅇα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[HannPoissonWindow] command is thread-safe as of Maple 18.

• 

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

Examples

withSignalProcessing:

N1024:

aGenerateUniformN,1,1

a0.7852184921503080.5884139649570000.9931658226996680.9215782885439710.03878017095848920.01360579254105690.2107569728977980.7496002158150090.1389663578011100.2122851340100170.7272120071575060.6092715314589450.7465088213793940.6811210685409620.8156772237271080.9205804541707050.3577318815514450.3158506918698550.1208321279846130.02355983620509510.5287123303860430.5027683069929490.7161679328419280.3879188126884410.9278261978179230.5356052340939650.8673904230818170.3569681062363090.6839167219586680.3242226522415880.05361050972715030.4698224249295900.7513776230625820.4843324692919860.6747855837456890.9363737516105190.7096950048580780.3153716786764570.7864264384843420.8770794854499410.9409014326520280.6518380991183230.4662027498707180.7281119446270180.6936769373714930.4467050759121780.4022120791487400.4650643980130560.1499599744565790.8932117177173510.5338573986664420.7853640178218500.7941035730764280.5118052563630050.6997805722057830.3901546578854330.3068011570721870.3800433110445740.2502235076390210.1123871579766280.2137124366126960.4621567274443810.7487089075148120.1515861186198890.1081398404203360.1682428801432250.5252014789730320.4807038540020590.8934478010050970.7059151721186950.9224037360399980.1509070000611250.5529286991804850.6300234016962360.4763040947727870.5200893273577100.3833313258364800.8538441974669710.5616843225434430.3928882414475090.8057071715593350.8304758411832170.9583636238239720.2670847913250330.9344543442130100.6007802556268880.4997545736841870.6631517456844460.4810677021741870.7564871408976630.8004443566314890.5107705770060430.2921514352783570.06741250492632400.3057767823338510.4690373712219310.6499663875438280.6481784037314370.8709209426306200.361100737471134...... 924 Array entries not shown

(1)

HannPoissonWindowa,1.23

0.000002165459673051130.000006506415308622920.00002476849426082890.00004095635831910730.000002699292237536670.000001366957018398690.00002888897656193740.0001345199466512760.00003163675004138670.00005980454430941780.0002484710086663940.0002483216997765830.0003579086542045390.0003796098450911070.0005230723216361110.0006732303394245290.0002960164225102270.0002936856887560800.0001254695860838680.00002716885079559030.0006737278233509810.0007047327042638000.001099673357587830.0006500335112152240.001690813093726490.001058069673923270.001851978691911450.0008215001733438780.001692103865331110.0008603527498448140.0001522383857358730.001424760850901780.002428561519394300.001665391556953540.002464143867077720.003625474986087970.002908905748580130.001366423671315650.003596840017206800.004228908736343050.004776547070661760.003479931122195790.002614396431566100.004284378661625340.004278470344620270.002885107247533490.002717644642912540.003284362673903210.001105946236742670.006873360754677880.004282977762797740.006563880002885950.006908946672985220.004632041892133300.006583578262418380.003813110382024840.003112879255200000.004000653630137880.002731225523605680.001271233815926880.002503650974731280.005604441050406300.009393475974540590.001966624512671490.001450045385683350.002330548081948420.007512260577655340.007096584452369320.01360747078288870.01108694747527600.01493316085264600.002517307201515640.009499960235101840.01114472607390160.008671529558090390.009741612002218890.007384405603241630.01691059709446310.01143315674750310.008216644322715680.01730676119828210.01831654404038080.02169665906608330.006204815339711790.02227045442762150.01468435722465860.01252403156055940.01703455729537000.01266309185596840.02040038201417540.02210859189151420.01444579108419480.008458699713267660.001997620431559910.009271560950008630.01454898256997050.02062034244814510.02102733518370100.02888417048042930.0122407949477557...... 924 row vector entries not shown

(2)

cArray1..N,'datatype'='float'8,'order'='C_order':

HannPoissonWindowArray1..N,'fill'=1,'datatype'='float'8,'order'='C_order',0.72,'container'=c

0.000004587934080064780.00001837738862740780.00004140666295471820.00007371381577859200.0001153366630570540.0001663127758309970.0002266794780691160.0002964738445165500.0003757326985475670.0004644926100221000.0005627898931463420.0006706606043375400.0007881405400930670.0009152652348636710.001052069958931450.001198589716292120.001354859242542010.001520913002769950.001696785189453570.001882509720361120.002078120236457740.002283650099817290.002499132391539120.002724599909670350.002960085167133430.003205620389659300.003461237513726100.003726968184503640.004002843753803740.004288895278036270.004585153516171390.004891648927707780.005208411670647160.005535471599475060.005872858263147890.006220600903086710.006578728451177420.006947269527777710.007326252439730740.007715705178385810.008115655417625870.008526130511902270.008947157494276550.009378763074469620.009820973636918190.01027381523883880.01073731360829920.01121149414229790.01169638190485090.01219200162508630.01269837769534790.01321553416930500.01374349476007220.01428228283833640.01483192143049240.01539243321678720.01596384052947220.01654616535096490.01713942931201860.01774365368990150.01835885940658440.01898506702693730.01962229675693580.02027056844187570.02092990156459830.02160031524372340.02228182823189340.02297445891402630.02367822530557820.02439314505081610.02511923542110020.02585651331317670.02660499524748000.02736469736644570.02813563543283380.02891782482806160.02971128055054840.03051601721406940.03133204904612090.03215938988629660.03299805318467410.03384805200021290.03470939899916260.03558210645348370.03646618623927800.03736164983523160.03826850832106850.03918677237601640.04011645227728320.04105755789854660.04201009870845360.04297408376913400.04394952173472400.04493642084990320.04593478894844310.04694463345176800.04796596136752840.04899877928818660.05004309338961500.0510989094297070...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing