SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

RiemannWindow

  

multiply an array of samples by a Riemann windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

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

• 

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

1k=N2sin2kN1π2kN1πotherwise

• 

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

RiemannWindowa

0.001536621355144020.002307447750532640.005853298898709510.007255793311584910.0003823874473317010.0001612970642585560.002920485595905890.01189363825321680.002485211962775700.004226134468673380.01595461036483370.01460930750573360.01942750806158030.01912444061975130.02458328230928240.02964846322431800.01226347383603800.01148534576725410.004646274597364670.0009553148842287610.02255042733975100.02250477682720280.03357308700431070.01900909445947700.04744310569828790.02853238744448660.04806712877071870.02054960356585970.04084696569630370.02006606175448480.003434349608649430.03112062552128420.05141204878392410.03420107288569720.04913285323206360.07024367123802270.05480783913176810.02505449474138140.06422567144185710.07358476230710870.08104316106887410.05760673926910510.04224933403084160.06762638610361110.06599641360099980.04351219183662770.04009251916984300.04741757213558250.01563246604452540.09515859525765300.05810092924570270.08728155896720740.09008618077959620.05924574368415650.08262913770288430.04697642598683640.03765563745739080.04753338681757400.03188260697930360.01458391750935840.02823546657844500.06215011164949610.1024558199648020.02110285269233330.01531144078885960.02422196494666180.07686662219815060.07150368707870410.1350397479103370.1083906660321190.1438517936637420.02389840306769420.08890100801033170.1028223119820150.07889062457198160.08740751770630460.06535763293444260.1476641707604570.09851185678872720.06987019321291040.1452631951569090.1517718492068700.1775057477041790.05012826839884130.1776962001222630.1157334026126440.09751260664326020.1310439787531640.09626115448529010.1532600390959980.1641663205367930.1060348238510490.06138266416385350.01433308479156100.06578285314326220.1020876420902790.1431079244367530.1443526973336460.1961634472766770.0822487083079180...... 924 row vector entries not shown

(2)

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

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

0.001956934751926190.003921470066913280.005893576646444410.007873225098486810.009860385807504910.01185502893505290.01385712442037260.01586664198099960.01788355111337490.01990782109346370.02193942097737960.02397831960201800.02602448558569240.02807788732877990.03013849301437270.03220627060893500.03428118786296770.03636321231167860.03845231127565940.04054845186156950.04265160096282530.04476172526029650.04687879122300910.04900276510885360.05113361296530040.05327130063012220.05541579373212050.05756705769186030.05972505772241110.06188975883009240.06406112581522710.06623912327290070.06842371559372620.07061486696461530.07281254136955680.07501670259039930.07722731420764100.07944433960122670.08166774195134820.08389748423925310.08613352924805900.08837583956357270.09062437757511650.09287910547636100.09513998526616140.09740697874940230.09968004753784780.1019591530509960.1042442565169410.1065353189732390.1088323012677860.1111351640596890.1134438678201560.1157583728333880.1180786391974680.1204046268252700.1227362954453620.1250736046029210.1274165136606520.1297649817997110.1321189680206360.1344784311442820.1368433298127620.1392136224903940.1415892674646510.1439702228471220.1463564465744730.1487478964094130.1511445299416730.1535463045889790.1559531775980410.1583651060455390.1607820468391220.1632039567184050.1656307922559750.1680625098584020.1704990657672540.1729404160601200.1753865166516340.1778373232945050.1802927915805590.1827528769417700.1852175346513180.1876867198246300.1901603874204440.1926384922418620.1951209889374260.1976078320021790.2000989757787470.2025943744584160.2050939820822200.2075977525420280.2101056395816410.2126175967978910.2151335776417440.2176535354194090.2201774232934520.2227051942839130.2252368012694300.227772196988362...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing