SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

GaussianWindow

  

multiply an array of samples by a Gaussian windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

GaussianWindow( A, alpha )

Parameters

A

-

Array of real or complex numeric values; the signal

alpha

-

numeric value greater than 2

Options

• 

container : Array, predefined Array for holding results

• 

inplace : truefalse, specifies that output should overwrite input

Description

• 

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

• 

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

wk=ⅇα22kN122

• 

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[GaussianWindow] 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)

GaussianWindowa,3.14

0.005785762964039960.004419690017967750.007604190555718120.007192328451352960.0003084868914181470.0001103123718775210.001741563759810260.006312884504673840.001192702682403610.001856735959732520.006481616304220840.005533609902290380.006908625323025680.006422789932573230.007836896528386060.009011509933153110.003567690462289790.003209140439091980.001250691937652310.0002484190486892900.005678850468780620.005500737493758840.007981115501534980.004403205251633900.01072649287089930.006306416134081600.01040118438455650.004359248368545970.008505172227552780.004105864388603900.0006913153595740670.006168913773628200.01004536146533350.006592754681368650.009351662215783050.01321160551337300.01019401177991870.004611548219901740.01170621556015270.01328970612897760.01451183168992530.01023300503476000.007449159740602500.01184086112259780.01148097386499930.007524235262287560.006894460058226580.008112329509543460.002661821013465300.01613290483254550.009811191675139410.01468552557783530.01510780288335670.009906454120837260.01377997305577530.007815917121545580.006252309531101720.007878446018052970.005276467131722190.002410588847131470.004662418355565220.01025485157488400.01689644818775510.003479107440186360.002524083887155920.003993448356533230.01267693612414060.01179849505478960.02229782536476540.01791322669569050.02379874222674980.003958563800082660.01474607275547910.01708152197888990.01312805858730520.01457216589094940.01091777438679940.02471927565693280.01652838353533770.01175091668401570.02449222535847480.02565724303505300.03009046774300300.008522108804958020.03029974457967940.01979534891503020.01673225915017460.02256029025638080.01662859639474490.02656759450257570.02856056460009150.01851527369850550.01075881841130950.002521929678511840.01162028109124460.01810601433533160.02548550606667390.02581472704091040.03522946082095310.0148352061490130...... 924 row vector entries not shown

(2)

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

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

0.000003912947785355330.000004108163423741030.000004312706992739020.000004527002942810480.000004751493977000200.000004986641784840460.000005232927803408340.000005490854006436870.000005760943722405790.000006043742482563450.000006339818899858170.000006649765579784160.000006974200064174690.000007313765809003550.000007669133197284170.000008041000588185200.000008430095403511090.000008837175252726460.000009263029097733930.000009708478458646600.00001017437866182820.00001066162013150650.00001117112972629890.00001170387212202160.00001226085124219050.00001284311173765330.00001345174051682930.00001408786832807070.00001475267139569120.00001544737311124950.00001617324578170830.00001693161243613000.00001772384869260740.00001855138468716650.00001941570706641810.00002031836104577390.00002126095253508390.00002224515033359130.00002327268839614330.00002434536817263550.00002546506102271230.00002663371070778510.00002785333596247260.00002912603314761350.00003045397898703960.00003183943339034560.00003328474236393120.00003479234101263890.00003636475663435030.00003800461190995210.00003971462819112360.00004149762888844370.00004335654296235950.00004529440851960230.00004731437651768070.00004941971458012680.00005161381092521270.00005390017841090100.00005628245869883460.00005876442654021650.00006134999418647250.00006404321592763270.00006684829276141020.00006976957719599710.00007281157818964140.00007597896623010590.00007927657855715340.00008270942453124160.00008628269115164900.00009000174872729190.00009387215670353050.00009789966964829620.0001020902434009100.0001064500413869970.0001109854411029230.0001157030407732380.0001206096661846060.0001257123776997610.0001310184774550340.0001365355167450390.0001422713035981160.0001482339105461560.0001544316825924650.0001608732453813130.0001675675135728750.0001745236994272290.0001817513216011480.0001892602141613790.0001970605358181500.0002051627793826230.0002135777814520210.0002223167323261710.0002313911861591730.0002408130713499150.0002505947011751520.0002607487846688270.0002712884377513150.0002822271946122540.0002935790193505810.000305358317875383...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing