SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

ParzenWindow

  

multiply an array of samples by a Parzen windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

ParzenWindow(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 ParzenWindow(A) command multiplies the Array A by the Parzen windowing function and returns the result in an Array having the same length.

• 

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

wk=162kN1212kN+1N2kN4212kN+13otherwise

• 

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

ParzenWindowa

1.1700667323921710-87.0144410724282210-83.9958174843923810-78.7888554434201310-77.2233697322177210-84.3792295290057210-80.000001077199603675970.000005718995787162850.000001509584111526740.000003163295000940820.00001442311974654560.00001568825850428730.00002443909467116790.00002785021382684110.00004102156505106380.00005618777186100500.00002618933817837010.00002744855336822560.00001234989711413480.000002808551335942160.00007296211856164260.00007977302272410570.0001298429852558340.00007990881303854290.0002160263708368700.0001402765154009390.0002544052257764250.0001167679409399550.0002485520382501180.0001304449381012150.00002379880391480820.0002294054809226510.0004023649936914450.0002836615349807170.0004311119303568660.0006509937905541120.0005356696409147410.0002578657083561200.0006951396153040630.0008364481787204180.0009663085287781120.0007196274561804280.0005523321335609440.0009242219908700570.0009419219332632030.0006479097197799050.0006222555740693160.0007664025113740550.0002628958379453720.001663736473242470.001055251327015490.001645512339739420.001761671269668630.001200898034690980.001734882484387420.001020988827932000.0008466456336031780.001104936160214680.0007657804157643690.0003617350179396800.0007228354003248560.001641286738788550.002789682391246500.0005921332758589420.0004425332497870130.0007207565765031690.002353804892605040.002252290758812060.004373574907487380.003608001828740720.004919446163919740.0008393188708843990.003205219861404520.003804275437130860.002994251101944880.003402035423609290.002607753875525380.006037853234951880.004126612494923130.002997499400692050.006380465998659500.006823208981774860.008165536245337690.002358886959515700.008551355811056720.005694179032340880.004903821439068880.006734123027847270.005053547277063650.008217679347312390.008988256071078000.005926652536804700.003501684248837720.0008343420623500030.003906568419240200.006183598155757870.008839469743054930.009090607287955260.01259228169491210.00538082029627463...... 924 row vector entries not shown

(2)

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

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

1.4901161193847710-81.1920928955078110-74.0233135223388710-79.5367431640625010-70.000001862645149230960.000003218650817871090.000005111098289489750.000007629394531250000.00001086294651031490.00001490116119384770.00001983344554901120.00002574920654296880.00003273785114288330.00004088878631591800.00005029141902923580.00006103515625000000.00007320940494537350.00008690357208251950.0001022070646286010.0001192092895507810.0001379996538162230.0001586675643920900.0001813024282455440.0002059936523437500.0002328306436538700.0002619028091430660.0002932995557785030.0003271102905273440.0003634244203567500.0004023313522338870.0004439204931259160.0004882812500000000.0005355030298233030.0005856752395629880.0006388872861862180.0006952285766601560.0007547885179519650.0008176565170288090.0008839219808578490.0009536743164062500.001027002930641170.001103997230529790.001184746623039250.001269340515136720.001357868313789370.001450419425964360.001547083258628850.001647949218750000.001753106713294980.001862645149230960.001976653933525090.002095222473144530.002218440175056460.002346396446228030.002479180693626400.002616882324218750.002759590744972230.002907395362854000.003060385584831240.003218650817871090.003382280468940730.003551363945007320.003725990653038020.003906250000000000.004092231392860410.004284024238586430.004481717944145200.004685401916503910.004895165562629700.005111098289489750.005333289504051210.005561828613281250.005796805024147030.006038308143615720.006286427378654480.006541252136230470.006802871823310850.007071375846862790.007346853613853450.007629394531250000.007919088006019590.008216023445129390.008520290255546570.008831977844238280.009151175618171690.009477972984313960.009812459349632260.01015472412109380.01050485670566560.01086294651031490.01122908294200900.01160335540771480.01198585331439970.01237666606903080.01277588307857510.01318359375000000.01359988749027250.01402485370635990.01445858180522920.0149011611938477...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing