SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

BohmanWindow

  

multiply an array of samples by a Bohman windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

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

• 

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

wk=12kn1cosπ2kn1+sinπ2kn1π

• 

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

BohmanWindowa

1.9246350199185510-81.1538058814650310-76.5726182722536510-70.000001445619791105771.1880838643478110-77.2025633331645810-80.000001771594698957160.000009405101338399530.000002482408501776860.000005201451821945600.00002371427048190050.00002579215891983700.00004017512141699940.00004577796357168460.00006742061941028250.00009233612114487790.00004303287579182150.00004509600427490280.00002028716791489930.000004612927811036450.0001198187157346300.0001309823959883370.0002131580585119020.0001311598918137210.0003545136562453750.0002301588724621310.0004173323543307650.0001915092019694780.0004075586096394500.0002138471238142750.00003900600506385240.0003759040553470270.0006591541774062550.0004645768706331630.0007058854186968550.001065625896756470.0008766079805560050.0004218705032197510.001136924182884150.001367631562291410.001579476652429550.001175896661899300.0009022408553413990.001509231748664410.001537618904480060.001057302280125260.001015081821174990.001249779684984990.0004285497489020080.002711063991826710.001718879920433640.002679303287515200.002867301807485110.001953795810722950.002821397675954740.001659713518432840.001375714802804820.001794631205546430.001243226529506260.0005870042482856440.001172442288057440.002660936927396100.004520636937428890.0009590820686246110.0007164243401523290.001166266619109160.003806809833331930.003640770868688820.007066108693037670.005826154859590080.007939619601482780.001353864979918360.005167348472777430.006129712551501380.004821823129787900.005475369855911370.004194589526261420.009706224369747370.006629839775648230.004812898265466620.01023846545255010.01094215082290960.01308660352094870.003778106794206140.01368748315054140.009108312239749850.007838920544765370.01075756877243300.008067473255939340.01310977244641880.01432922830781920.009441801715708660.005574643171830200.001327319723552900.006210331696650910.009823024002727490.01403173500767970.01441968920273190.01995914354334680.00852230456411198...... 924 row vector entries not shown

(2)

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

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

2.4510821372125010-81.9608744016626910-76.6178458038232410-70.000001568634818198410.000003063637511086650.000005293747726514350.000008405865175413470.00001254682314648720.00001786337744657390.00002450219534308120.00003260984451369800.00004233278199963770.00005381734316650680.00006720973067203190.00008265600343995700.0001003020656440700.0001202936556987670.0001427763352612330.0001678954782413710.0001957962598245420.0002266236455032990.0002605223801232450.0002976369769392490.0003381117066860660.0003820905866628100.0004297173698301700.0004811355339248420.0005364882705871240.0005959184745070180.0006595687325848250.0007275813131114170.0008000981549643180.0008772608568239910.0009592106664091660.001046088469730690.001138034780368030.001235189728764270.001337693051545550.001445684080859890.001559301733741750.001678684501497290.001803970439116430.001935297154707040.002072801798956250.002216621054617240.002366891126021430.002523747728619570.002687326078548600.002857760882228580.003035186325986610.003219736065712200.003411543216540590.003610740342568820.003817459446600900.004031831959926220.004253988732130450.004484060020937690.004722175482088530.004968464159249840.005223054473961510.005486074215616300.005757650531477630.006037909916731500.006326978204577980.006624980556357520.006932041451717370.007248284678816390.007573833324567490.007908809764922530.008253335655194640.008607531920424160.008971518745783700.009345415567027250.009729341060979830.01012341313607240.01052774892291820.01094246476493480.01136767620901100.01180349799621740.01225004405256460.01270742747980640.01317576054629090.01365515467785790.01414572044878550.01464756757278370.01516080489403850.01568554037830390.01622188110404510.01676993325363220.01732980210458370.01790159202086310.01848540644422620.01908134788562240.01968951791664690.02031001716104910.02094294528629280.02158840099517230.02224648201748250.02291728510174550.0236009060069927...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing