DSPFUNTHEGUIWAYA.
Yardim,M.
A.
Mughal,G.
D.
CainandD.
BarjamovicUniversityofWestminster,DepartmentofElectronicSystems,LondonW1M8JS,UKABSTRACTProductionofGraphicalUserInterfaces(GUIs)hasbeenfoundtobeavitalingredientinbuildingupacomprehensiveMATLABframeworksupportingthelearning-andenjoyment-ofDSPtopics.
WedescribesomeofthefunctionalandestheticissuessurroundingthetwodozenGUIswehavedevelopedandusedtoanimatevariousDSPtopicsduringin-classdemonstrationsandinstudentlaboratories.
WeconcludethatthesubstantialdevelopmenteffortneededforareallygoodGUIispaidbackbytheimpactonlearningandtheenhancementofroutinedesignandmeasurementtasks.
MATLABissouseful,insomanyways,acrossabroadrangeofDSPlearningsituationsthatitiseasytohighlightmanyofitsstrengths.
Apartfromwidespreadusebyourresearchersastheireverydayconcept-provingtoolofchoice,ourmaininterestslieinundergraduatelearning(immediatelyuponentrytoYear1ofstudyandthenthroughoutthreeyearsofBEngwork),inMaster'sstudy,andalsoinContinuingProfessionalDevelopmentshortcoursesaimedatpracticingEngineers.
MATLABisanindispensableacceleratoroflearningandengineofproductivityenhancementateachoftheserungsofoureducationalladder.
ItisfortunateforDSPaficionadosthatoursubjectisinherentlySENSUAL,andthatwecansoreadilyconveyhigh-impactmessagesabouttheintricaciesofitsvarioussub-topicsbyappealingtoastudent'ssensesofsoundandvision.
Anoise-contaminatedsoundpassageplayedoutloudisguaranteedtoregisteritsundesirabilitymorecompellinglythanadrysignal-to-noiseequationorstarkgraph.
Evenbetter,thecollisionandadhesionoftwotonesleapingaboutinananimatedspectraldisplayevokesdynamismandexcitementonthepartofafledglingDSPengineerchargedwiththetaskofunravelingtheseinterferingsignals.
MATLABsuppliesaframeworkforreadilyenliveningtheseandclassroomdemonstrationandlaboratoryscenariossopowerfullythatmodernteachingofDSPneednolongersufferunderthedrymathematicalimagewhichusedtounsettlenewcomerstothefield.
WetrytoinsistthatthelearningofDSPbemadeFUN.
Inpursuitofthis,weuseMATLABinthesevariousclassroomroles:"Scratch-pad"trialofconceptsonthefly"PauseStories"forautomated,pre-cannedexpositions(ina"slideshow"vein)"Sound-filehacking"togainaquickfeelforprocessingeffectsM-filecreationforsmalltasksolutionSeriousm-fileutilityconstructiontoaugmentToolboxfeatures"ControlPanel"GUItoolcreationforrepetitiveuseTheseusagestylesareinincreasingorderofsophisticationandinvestmentonthepartofacademicandsupportstaff.
Thefirsttwoareinexpensive,butoftenaddspontaneityalongstructuredlinesofexposition.
Thingsstartgettingespeciallyinterestingwith"sound-filehacking".
Thiscodefragment:[x,fs]=wavread('terminat.
wav');y=[x;flipud(x)];plot(y);sound(y,fs)iseasyforstudentsinaPC-equippedlectureroomtoquicklyinputandgrasp,yetneverfailstodeliverafewwarmchucklesofamusement.
Thefinalthreeusesincurescalatingeffortandseriousness,butdeliverfargreaterlearningbenefits.
Thedeveloperineachcasemightalsobethestudent(andcertainlyinthehomeworkandprojectassignmentsituationthatoftenhappens);moreoften,dedicatedacademiceffortbehindthesceneshasbeendeployedandthestudentisinthehappypositionofsimply"riding"onwhatgetsprovided.
Slick,labour-savingspecialistm-filescanbepressedintoservicesothatstudentscanfocusongraspingtheconcepts,notstumblingoverthetools.
Notwithstandingthebesteffortsofthedevelopmentteam(buildingonthegreattransparencyandself-documentingsimplicityMATLABbringstothepartyanyway),wehavefrequentlybeenastonishedtofindvery,veryslowratesofcodedevelopmentinabbreviatedin-classjobsoreven3-hourlaboratorysessions.
Somestudentssimplycannotamalgamatehigh-levelconceptsandsimplecodingtodousefulworkunderpressureoftime.
Accelerationofsignalhandlingisamust.
HenceourenthusiasmforGraphicalUserInterfaces(GUIs).
GUIsaregreatforsetpiece,repetitivetasks.
Weliketoviewthemaslow-costitemsofdedicated,powerfulDSPinstrumentation:"controlpanels"forunleashingmagic.
OurGUIproductioneffortshavebeendirectedbothatin-classdemonstrationofconceptsformakinglectureslivelyandatclosesupportofdesignandmeasurement.
Thefirstusagehasbeeneffectivewherecomplexsignalshavetobevisualized,wherez-planetopologyneedstobeseen,wherepole/zerogeometriesrequirecrystallization,wheresurveyingfilterbankoutputscanilluminatethesignalprocessinglandscape,etc.
WefindithandytohaveasmallselectortoolbarvisibleforeasilyinvokingthecoupleofdozenGUIswetendtouseroutinely.
Thisarrangement(seenintherightcornerofFigure1)givesbothanalphabeticorderingandvisualcuestothelecturer(whomaybehard-pressedtorecallthenameoftheintendeddemo).
Figure1alsoexhibitstheresultofacoupleofselections;partiallycoveredisa3-d"corkscrew"depictionofcomplexexponentialsignalswhichhasbeenimmenselyhelpfulinassertingtherealityofourmostimportantcomplexsignals.
AlsoinFigure1isslifer-oneofourmostpopulartoolsforhandcrafteddigitalfilterdesign,permittinghighlyresponsiveadjustmentofindividualcoefficientvalues(hereofadigitaldifferentiator),variationofFrequencySamplingtransferfunctionvaluesandevennon-equispacedspectralmanipulationwhichMATLAB'sfasthandlingofVandermondematrixinversioncausestolookeffortless.
Figure1.
ASmallCollageofOurGUIsFigure2showsaviewofthez-planerarelyseenbystudentselsewhere.
HerewehavetakentheusualMATLABcoefficientvectorstobea=[10.
6]andb=ones(1,5).
Thestudentisabletohorizontallyslicethez-functionfinelyenoughtoscrutinizethesurfaceperturbationcausedbythepoleonthenegativerealz-axiswhilealsoseeingtheDFTevaluationsshownaroundtheunitcirclebyastemplot.
Asdifferentpoleandzerocontributionsareimportedthestudentisabletoobservetheundulationscausedinthezsurfaceandhowthesearemanifested"attheedge",wheretheDFTofthetransferfunctionresides.
Suchpotentandusabletoolsinspirebothconfidenceinthetheoreticalideasanddeliverpracticaloutcomesformeetingtoughdesignspecs.
Studentsreactextremelywelltothesolidityandreliabilitythattoolssuchastheserepresent.
Figure2.
Circular-SlicingaZ-TransformButcanweexpectstudentstodesigngoodGUIsCertainlysuchanaspirationissmackontargetformoderngroupwork-intensive,creativestudent-ledengineeringlearning.
Yetourexperienceismixed;severalindividualprojectshaveproducedsuperb,highlyusefulGUIsthathavegoneontobecomepermanentfixturesinourtoolscape.
Butmanyhavebeenfeeble,painfulexercisestoo.
Fartoooftenstudentshavedifficultyarticulatingandthenimplementingfeatureswhicharetrulyuseful.
ThewholeprocessiscomplicatedbytheinherentdifficultyofstructuringaGUI.
Theexposuretoswitchyardprogrammingisveryeducational,butthemechanicsofcallbacksandponderoussyntaxarenoteasytomasterforbeginners.
BraveattemptslikeMATHWORKS'"Guide"arenotyetabletosimplifydevelopmentsufficiently.
Atthepresenttime,youhavetoreallywanttobuildaGUIifit'sgoingtobemuchofasuccess.
IndevelopingourGUIoutlookforlearningaids,weweregreatlyinfluencedbyMATLAB'sdemosigdemo2,whichiswonderfullyeconomical,self-explanatoryanduseful.
Thisoneexampleimmediatelysuggestsahostoftransformillustratorsthatcouldprovidegoodinsightforstudents;nolongerisitnecessaryfortransformtabulationstobesodryanduninspiring.
Wecreateda"HilbertTransformTour"whichbothdrawstogetheranumberoftheseelusive,unrulytransformpairs(astime-domainequations),andalsoanimatesthemsothatthebrowsingstudentcan,underslidercontrol,easilymodifysignalparametersandappreciatechangingpatternsandinteractions(especiallyasmanifestedinanalyticsignals).
Filterdesignalsofurnishesawealthofopportunitiesforanimation,displayandmeasurementGUIs.
MATLAB'sfiltdemoisa(hard-hitting)caseinpoint.
Wehavesometimesfounditusefulto"soupup"suchnicedemosthroughsmallmodificationsthataddsensualimpact(say,byincorporatingmusicprocessing).
Andwecangodeep,toinspecttheiteration-by-iterationmechanicsoffilterdesignalgorithms.
Suchiterativeminutiaecanbefascinatingtowatch,whilealsoleavingthestudentwithafeelingoftheprecariousnessofiteration(especiallywhenconvergencefailstohappen)andthepotencyofclosed-formsolutionsandmatrixformulations.
Manyinstrumentationtaskscryoutforpurpose-builtGUIs.
Thisisespeciallytrueintheareaofrandomsignalmeasurement,anarenanotoriousforrequiringgiganticrecordlength/ensemblesizes(tenstohundredsofthousandsofsamples)beforeanytextbookfindingscanbevalidatedconvincingly.
Hererepetitivemechanization(andsomesortofaveraging)ofrandomsignalrealizationsisthefocus.
Sofarwehaveattackedthistopiconlybym-fileutilities;itisoneofournexttargetsforGUIdevelopment.
WhatfeaturesshouldagoodGUIexhibitWethinkthattheenvelopeoffunctionalityshouldberestricted,andobvioustotheuser.
ExcessivecomprehensivenessleadstoalumberingGUIthatisneitherfishnorfowl(andgreatlyextendsitsdevelopmentschedule).
Itscontrolsandlayoutshouldbefriendlyandinviting,withbalanceandharmonyuppermost.
Spaciousnessofuicontrolobjectdeploymentisalwayshardtoachieve,andmayrequiredeeper"parking"(intomenuitems,dialogboxesorpopupmenus)thantheGUIdeveloperwouldlike.
Theusershouldonlyrarelybecalledontohavetopushfurtherdownthan3levelsofinteractionhierarchy(i.
e.
,2buttonclicks).
AusershouldfeelthepoweroftheGUI'soperation,andbreatheasighofreliefatnothavingtogetdowntothenitty-grittyofdoingthemainunderlyingcodingpersonally.
AnyGUIthat'shardtolearntodrivewillsimplybeabandonedinfavouroftheeaseofDIYthatMATLABalwaysholdsouttousers(particularlythosewhohavebuiltupapotentandfamiliarsuiteofspecialistm-fileutilities).
AnyGUIthatismysterious,illogical,unreliableandburdensometonavigatewillincurneedlessOperatorFatigueandwillbreednotjustdisdain-butactivehatred.
Again,suchafailedGUIisheadedforthescrapheap.
WethinkthatGUIscomein"threetimeflavours":thosethataredevelopedin3minutes,3daysor3months.
The3-minutequickiecanonlybesomethingsimplelikeaddingaslidertofigurewindowtofacilitateobservationofparameterchangeeffects,addingapushbuttontoinvokesoundsorflashcolourchanges,andsoforth.
Suchlimitedaspirationsalmostalwayspaybacktheeffortadequately.
Attheotherextreme,reallyambitiousandpolishedGUIgoalscaneasilytake3monthsormore.
OurexperienceisthattheseverycomprehensiveGUIsaredauntingevenforveteranGUImakersanddegenerateintointricateinteractionsofcontrolconditionsthatcanbehardtojustifyconsistently,muchlesstorememberformaintenanceandupgrading.
Ourfavouritecategoryisthe3-daytypeofGUI.
Herethemindsetislimitedtospecifichorizonswhichoftenproveachievable.
OurbestGUIsareupandrunning(asregardstheiressentialfeatures)veryrapidly.
Subsequentfine-tuningandconsideredextensionmakegoonovermanymonths,ofcourse,butthefactremainsthatitwasa3-dayconcept,itgaveatleastalimiteddegreeofserviceinabout3days,anditbenefitedfromveryearlyuserfeedback.
Throughouttheprocess,sketching-andre-sketching-thecontrolpanellayoutbeforeinvestingincodingprovestobeakeyfactorinhomingintoagoodGUI.
Figure3showsdemoleak-thefirstGUItoemergefromourgroup.
ThisprovidedourfirstviewofthedynamiceffectsofleakageinspectralanalysisasatonewasforcedofftheDFTgridpoints,andstillprovidesimpressivetestimonytothepotencyofwindowing.
Figure3.
ADynamicSpectralAnalysisGUIWherethenisthe"fun"inallthisThereisnodoubtthatitistheendusers(andnottheharassedGUIdevelopers)whichstandtohavethebulkofthefun.
Theyhavebuttotestdrivethefinalproduct.
Ourfinaljudgementisunequivocal:agoodGUIisapowerfulaidinbreakingdownresistancetothemathematicalmatterswhichunderpinDSP.
AreasonablygoodGUIisprettyeasytoachieve;agreatGUIisrare,butpropelsitsusertoastateofDSP-joy.
ACKNOWLEDGEMENTWearegratefulforthegoodprogrammingstyleandcreativeenergythatDr.
GregAllenofJamesCookUniversity-fatherofdemoleakandmuchmore-broughttoourGUIfactory.
轻云互联成立于2018年的国人商家,广州轻云互联网络科技有限公司旗下品牌,主要从事VPS、虚拟主机等云计算产品业务,适合建站、新手上车的值得选择,香港三网直连(电信CN2GIA联通移动CN2直连);美国圣何塞(回程三网CN2GIA)线路,所有产品均采用KVM虚拟技术架构,高效售后保障,稳定多年,高性能可用,网络优质,为您的业务保驾护航。官方网站:点击进入广州轻云网络科技有限公司活动规则:1.用户购...
npidc全称No Problem Network Co.,Limited(冇問題(香港)科技有限公司,今年4月注册的)正在搞云服务器和独立服务器促销,数据中心有香港、美国、韩国,走CN2+BGP线路无视高峰堵塞,而且不限制流量,支持自定义内存、CPU、硬盘、带宽等,采用金盾+天机+傲盾防御系统拦截CC攻击,非常适合建站等用途。活动链接:https://www.npidc.com/act.html...
华为云818上云活动活动截止到8月31日。1、秒杀限时区优惠仅限一单!云服务器秒杀价低至0.59折,每日9点开抢秒杀抢购活动仅限早上9点开始,有限量库存的。2G1M云服务器低至首年69元。2、新用户折扣区优惠仅限一单!购云服务器享3折起加购主机安全及数据库。企业和个人的优惠力度和方案是不同的。比如还有.CN域名首年8元。华为云服务器CPU资源正常没有扣量。3、抽奖活动在8.4-8.31日期间注册并...
dengjiagui为你推荐
wordpress模板wordpress后台默认模板管理在哪里?波音737起飞爆胎飞机会爆胎?asp.net网页制作开发ASP.NET的网站,步骤是怎样?有经验的可以说说自己的经验客服电话各银行的客服电话是多少?滴滴估值500亿滴滴流水每天280元一个月下来能赚 多少三友网三友有机硅是不是国企,待遇如何?现在花钱去是不是值得?缤纷网缤纷的意思是什么香港空间香港有哪些购物场所付款方式工程付款方式有哪些oscommerceosc.s是个什么文档?要怎样打开?有谁知道?谢谢!!
国际域名抢注 万网域名代理 linuxvps 域名服务器的作用 什么是域名解析 新加坡服务器 主机点评 狗爹 iisphpmysql 免费名片模板 tk域名 彩虹ip 灵动鬼影 刀片服务器是什么 秒杀预告 谁的qq空间最好看 免费活动 phpmyadmin配置 免费美国空间 国外免费asp空间 更多