SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

ExponentialWindow

  

multiply an array of samples by an exponential windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

ExponentialWindow( A, alpha )

Parameters

A

-

Array of real or complex numeric values; the signal

alpha

-

numeric value strictly between 0 and 1

Options

• 

container : Array, predefined Array for holding results

• 

inplace : truefalse, specifies that output should overwrite input

Description

• 

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

• 

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

wk=αkN

• 

The parameter α must lie in the open interval 0,1.

• 

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

ExponentialWindowa,0.23

0.7840923310123930.5867273675039910.9888987501798200.9163027374479390.03850287469951950.01348913088541160.2086501799254500.7410426457911220.1371828626475160.2092601130851910.7158212746459830.5988680365190530.7327095962457250.6675717296997570.7983046256091400.8996814106649500.3491092303305120.3077954564523610.1175816318985360.02289317423351380.5130147749479550.4871413717534110.6929129530502090.3747842554202780.8951252632534600.5159869088610990.8344209143638450.3429072447785510.6560352196160440.3105588961009760.05127754731666790.4487327190361380.7166200242300600.4612654800965290.6417263208666450.8892215421441190.6729908817290760.2986323203474890.7436163184207610.8281451194273940.8871321340985620.6137063389408770.4383009242613340.6835533225743280.6502916627918640.4181657944020800.3759753861659800.4341042988906000.1397761382042100.8313593371303740.4961766473575740.7288845445877250.7359385946943810.4736372580218890.6466654897745940.3600238627186910.2827015382190050.3496881849198820.2299072468635640.1031140700542040.1957977620817970.4228086798351800.6839814167676350.1382825637352270.09850775043560530.1530375691873160.4770501010384020.4360058769319230.8092088255570040.6384407954251210.8330399982228470.1360914602838280.4979288705243800.5665412604075730.4276966667840320.4663437703643260.3432252550509940.7634142176851410.5014765184623970.3502708678660550.7172803010893720.7382702449248790.8507370956427600.2367504946910780.8271352151946900.5310198583904540.4410913853722970.5844688947666900.4233810089648530.6648189815304060.7024407452549900.4475907543970730.2556465562645620.05890458152437750.2668024440240150.4086668701936180.5654960425842560.5631316231919290.7555631709765890.312821871099248...... 924 row vector entries not shown

(2)

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

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

0.9996792466994400.9993585962815600.9990380487133600.9987176039618500.9983972619940520.9980770227769980.9977568862777290.9974368524632990.9971169213007720.9967970927572200.9964773667997300.9961577433953960.9958382225113240.9955188041146290.9951994881724400.9948802746518940.9945611635201370.9942421547443290.9939232482916390.9936044441292470.9932857422243410.9929671425441240.9926486450558050.9923302497266070.9920119565237620.9916937654145120.9913756763661110.9910576893458220.9907398043209190.9904220212586870.9901043401264210.9897867608914270.9894692835210210.9891519079825290.9888346342432880.9885174622706470.9882003920319630.9878834234946040.9875665566259500.9872497913933890.9869331277643230.9866165657061610.9863001051863230.9859837461722420.9856674886313590.9853513325311260.9850352778390060.9847193245224710.9844034725490050.9840877218861030.9837720725012670.9834565243620140.9831410774358680.9828257316903640.9825104870930490.9821953436114800.9818803012132220.9815653598658530.9812505195369610.9809357801941430.9806211418050090.9803066043371760.9799921677582740.9796778320359430.9793635971378320.9790494630316020.9787354296849230.9784214970654770.9781076651409550.9777939338790580.9774803032474990.9771667732140000.9768533437462940.9765400148121240.9762267863792450.9759136584154190.9756006308884210.9752877037660350.9749748770160560.9746621506062910.9743495245045530.9740369986786690.9737245730964760.9734122477258190.9731000225345550.9727878974905520.9724758725616880.9721639477158490.9718521229209340.9715403981448510.9712287733555180.9709172485208660.9706058236088320.9702944985873670.9699832734244300.9696721480879920.9693611225460310.9690501967665400.9687393707175190.968428644366980...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing