SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

WelchWindow

  

multiply an array of samples by a Welch windowing function

  

ReiszWindow

  

multiply an array of samples by a Reisz windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

WelchWindow(A)

ReiszWindow(A)

Parameters

A

-

Array of real or complex numeric values; the signal

Options

• 

container : Array, predefined Array for holding results

• 

inplace : truefalse, specifies that output should overwrite input

Description

• 

The WelchWindow(A) command multiplies the Array A by the Welch windowing function and returns the result in an Array having the same length.

• 

The ReiszWindow( A ) command is provided as an alias.

• 

The Welch windowing function wk is defined as follows for a sample with N points.

wk=12kn12

• 

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[WelchWindow] and SignalProcessing[ReiszWindow] commands are 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)

WelchWindowa

0.003064264364127220.004588005616653850.01160456434222820.01434341208366170.0007537268487300980.0003170172914153120.005723491249311160.02324199887902980.004842596735050730.008211407695242210.03091172560026580.02822492018904660.03742738891368630.03673954738300020.04709348595088880.05663727403589300.02336125213729550.02181787234641780.008801610885109680.001804662746422990.04248149038284770.04227838348141690.06289800383689770.03551502801713020.08839591709328700.05301622243602830.08907044524741910.03797579401671680.07528082661482760.03688171192109740.006295365604136910.05689255926881750.09373589480215310.06218960157916350.08910256569426360.1270482696429560.09886685135807850.04507578299197950.1152441850066220.1316904012577430.1446577088934890.1025558874513100.07501919020765880.1197669488995250.1165769099269910.07666155988745530.07045431694958120.08311209456678640.02732977973809450.1659370828736690.1010574558030120.1514260822936540.1558950507401740.1022657750255360.1422683929279600.08067895391332070.06450871649422410.08122660305483020.05434599078150810.02479733740756280.04789012780738670.1051516565387450.1729167304522290.03552799655153650.02571448117294930.04057945566442820.1284614320002430.1192077489508280.2245855058564410.1798287017596680.2380851897875760.03945834889293570.1464308513000750.1689554029054470.1293218381708260.1429420313166360.1066289403864680.2403391099651060.1599599575022920.1131855773701320.2347653613480250.2447100672773600.2855341877423240.08044820832452630.2845133723577940.1848745027958290.1554088329016160.2083682364980180.1527101472336770.2425777781061460.2592473114436470.1670666212265250.09649409378321050.02248077842963880.1029446789736710.1593994191262030.2229474166929380.2243839026711290.3042395985465970.127280075616199...... 924 row vector entries not shown

(2)

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

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

0.003902435302734380.007797241210937500.01168441772460940.01556396484375000.01943588256835940.02330017089843750.02715682983398440.03100585937500000.03484725952148440.03868103027343750.04250717163085940.04632568359375000.05013656616210940.05393981933593750.05773544311523440.06152343750000000.06530380249023440.06907653808593750.07284164428710940.07659912109375000.08034896850585940.08409118652343750.08782577514648440.09155273437500000.09527206420898440.09898376464843750.1026878356933590.1063842773437500.1100730895996090.1137542724609380.1174278259277340.1210937500000000.1247520446777340.1284027099609380.1320457458496090.1356811523437500.1393089294433590.1429290771484380.1465415954589840.1501464843750000.1537437438964840.1573333740234380.1609153747558590.1644897460937500.1680564880371090.1716156005859380.1751670837402340.1787109375000000.1822471618652340.1857757568359380.1892967224121090.1928100585937500.1963157653808590.1998138427734380.2033042907714840.2067871093750000.2102622985839840.2137298583984380.2171897888183590.2206420898437500.2240867614746090.2275238037109380.2309532165527340.2343750000000000.2377891540527340.2411956787109380.2445945739746090.2479858398437500.2513694763183590.2547454833984380.2581138610839840.2614746093750000.2648277282714840.2681732177734380.2715110778808590.2748413085937500.2781639099121090.2814788818359380.2847862243652340.2880859375000000.2913780212402340.2946624755859380.2979393005371090.3012084960937500.3044700622558590.3077239990234380.3109703063964840.3142089843750000.3174400329589840.3206634521484380.3238792419433590.3270874023437500.3302879333496090.3334808349609380.3366661071777340.3398437500000000.3430137634277340.3461761474609380.3493309020996090.352478027343750...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

The SignalProcessing[WelchWindow] and SignalProcessing[ReiszWindow] commands were introduced in Maple 18.

• 

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

See Also

SignalProcessing