SignalProcessing - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

SignalProcessing

  

BlackmanNuttallWindow

  

multiply an array of samples by a Blackman-Nuttall windowing function

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

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

• 

The Blackman-Nuttall windowing function wk is defined as follows for a sample with N points.

wk=0.36358190.4891775cos2kπn+0.1365995cos4kπn0.0106411cos6kπn

• 

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

BlackmanNuttallWindowa

0.0002854471280159710.0002151850604982120.0003668110447718460.0003450606221947550.00001477419416126530.000005292496714373420.00008398177257354210.0003069205345703880.00005863042592079150.00009252685541483130.0003282120718043400.0002853342653999600.0003634363696542570.0003452787539373560.0004311454164429200.0005079804099596360.0002062818602425510.0001904877144831990.00007626841241241280.00001557203771845630.0003660849752239930.0003647947805216110.0005446267526991700.0003092251044422170.0007752875405233420.0004691222995796800.0007962657925075490.0003434075788714980.0006893447655697770.0003423173547196520.00005927526859201100.0005438379670605470.0009102711113357090.0006138884062147250.0008945305945025590.001297798615664030.001028015493690230.0004772639647340810.001242905806130720.001447098143273840.001620004214722770.001170735108973130.0008731218212681580.001421393149047890.001410994649935560.0009464079701404410.0008872396126148180.001067745923802620.0003582134091628370.002219101952811630.001378959000505170.002108382800573390.002214927093949880.001482670489017820.002104822960817500.001218043625519750.0009938397333357990.001276994767332450.0008718595176470460.0004059434545572430.0007999806642942910.001792307386850770.003007354826923920.0006304588009163700.0004655731577029040.0007495925938734520.002420942386098120.002291878629368660.004404800668004390.003597842669643460.004858863401581040.0008213727005702330.003108939802347810.003658549874125850.002855908285371440.003219183365233410.002448791024031650.005628194136569050.003819448703340400.002755508529885310.005826961711517930.006192035138098950.007365272885033990.002115298995958060.007625319462971970.005050187311441960.004326694640247620.005912034565221470.004415429268972300.007147105611811550.007782910649367090.005110229620896120.003007105393340210.0007137245240641030.003329420286996560.005251349361910190.007481351064181860.007668962171908780.01059014216045800.00451192037309178...... 924 row vector entries not shown

(2)

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

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

0.0003635257331170060.0003657035239024910.0003693351466472780.0003744235584585300.0003809728991932440.0003889884913651860.0003984768400249660.0004094456326118930.0004219037387790220.0004358612101894290.0004513292802840830.0004683203640201380.0004868480575791480.0005069271380446090.0005285735630484680.0005518044703841170.0005766381775868800.0006030941814801800.0006311931576850550.0006609569600950220.0006924086203109610.0007255723470388270.0007604735254452940.0007971387164730590.0008355956561117550.0008758732546242790.0009180015957271430.0009620119357222520.001007936702579170.001055809494965760.001105665081225520.001157539398299370.001211469550590930.001267493808771750.001325651608525900.001385983549231140.001448531392574490.001513338061100000.001580447636686960.001649905358955560.001721757623597850.001796051980632410.001872837132578650.001952162932550170.002034080382262890.002118641629956550.002205899968227240.002295909831766240.002388726795005950.002484407569666310.002583010002202390.002684593071147870.002789216884353080.002896942676114710.003007832804193000.003121950746714980.003239361098960780.003360129570028600.003484322979377360.003612009253242830.003743257420924320.003878137610939500.004016721047043810.004159080044111960.004305288003877550.004455419410529130.004609549826158110.004767755886057120.004930115293864000.005096706816550060.005267610279247990.005442906559917940.005622677583847030.005807006317980880.005995976765082840.006189673957718610.006388183952063040.006591593821525930.006799991650194210.007013466526087060.007232108534221740.007456008749486170.007685259229316090.007919953006174040.008160184079826770.008406047409418120.008657638905335610.008915055420866900.009178394743643670.009447755586870450.009723237580335910.01000494126120280.01029296806457610.01058742031384450.01088840121079390.01119601482549130.01151036608593450.01183156076746780.01215970548195850.0124949076667351...... 924 row vector entries not shown

(3)

u`~`logFFTc:

useplotsindisplayArraylistplotℜu,listplotℑuend use

Compatibility

• 

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

• 

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

See Also

SignalProcessing