SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

CauchyWindow

  

multiply an array of samples by a Cauchy windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

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

• 

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

wk=11+α2kN12

• 

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

CauchyWindowa,1.23

0.3528754676141350.2650024660901370.4482547377990800.4168422338691330.01757865863441720.006180684337532500.09594703232766640.3419923081954040.06353799623569470.09727041866419770.3339333262091210.2803801608421640.3442779118914180.3148012859482550.3778058072324480.4273171194729000.1664119745537740.1472472782537210.05645293322706450.01103100610454360.2480853895622730.2364224161580140.3375007576668650.1832061111277230.4391421110118700.2540520535263930.4123177794440770.1700538593107750.3265126631569410.1551243512244090.02570552403752640.2257616908155330.3618385395394660.2337438966381830.3263643319999990.4538646805054830.3447380560424370.1535255102511930.3836687235627910.4288226589623750.4610238854762220.3200807840676030.2294221221474270.3590866418845720.3428459386393140.2212602116428800.1996541062976470.2313539656754760.07476183254088600.4462720877042140.2673076036602550.3940921439168530.3993416899432020.2579365905986860.3534360051723440.1974814827852670.1556278170351030.1931985865956450.1274792630137250.05738107372479430.1093508790922520.2369857402780020.3847568271294650.07806800991126510.05581355404255430.08702236024754980.2722452064210240.2497192173574520.4651398223719100.3683042619945710.4822975758354790.07907571206068600.2903637891705040.3315656214393220.2512097580001970.2748966143356360.2030508896763140.4532608666525300.2988138823681210.2094673000787480.4304899575373530.4446837310852420.5142719608174340.1436315381262410.5036127329090890.3244830807282370.2705021971109940.3597198212072580.2615139716738400.4121234222536800.4370123867738800.2794635164316620.1601930644903770.03704353056209650.1683884941096470.2588517624179490.3594761785078600.3592601730945260.4837581629886650.201007726435844...... 924 row vector entries not shown

(2)

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

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

0.5823466572736730.5832992149812200.5842530189288490.5852080660416450.5861643532005150.5871218772419320.5880806349576680.5890406230945340.5900018383541170.5909642773925140.5919279368200750.5928928132011290.5938589030537300.5948262028493860.5957947090127950.5967644179215810.5977353259060290.5987074292488170.5996807241847490.6006552069004960.6016308735343190.6026077201758100.6035857428656210.6045649375952010.6055453003065240.6065268268918240.6075095131933280.6084933550029860.6094783480622070.6104644880615890.6114517706406490.6124401913875600.6134297458388780.6144204294792800.6154122377412900.6164051660050140.6173992095978750.6183943637943390.6193906238156530.6203879848295750.6213864419501080.6223859902372320.6233866246966350.6243883402794500.6253911318819890.6263949943454700.6273999224557590.6284059109431000.6294129544818490.6304210476902130.6314301851299810.6324403613062610.6334515706672180.6344638076038070.6354770664495140.6364913414800910.6375066269132930.6385229169086200.6395402055670520.6405584869307930.6415777549830060.6425980036475590.6436192267887650.6446414182111200.6456645716590530.6466886808166650.6477137393074750.6487397406941640.6497666784783230.6507945461001980.6518233369384390.6528530443098500.6538836614691350.6549151816086510.6559475978581610.6569809032845840.6580150908917480.6590501536201500.6600860843467060.6611228758845100.6621605209825950.6631990123256900.6642383425339780.6652785041628630.6663194897027330.6673612915787180.6684039021504660.6694473137119020.6704915184910010.6715365086495570.6725822762829570.6736288134199490.6746761120224240.6757241639851890.6767729611357430.6778224952340610.6788727579723730.6799237409749500.6809754357978860.682027833928887...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing