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.
DogYun是一家2019年成立的国人主机商,提供VPS和独立服务器租用等,数据中心包括中国香港、美国洛杉矶、日本、韩国、德国、荷兰等,其中VPS包括常规VPS(经典云)和按小时计费VPS(动态云),使用自行开发的面板和管理系统,支持自定义配置,动态云各个硬件独立按小时计费,带宽按照用户使用量计费(不使用不计费)或者购买流量包,线路也可以自行切换。目前商家发布了6.18促销方案,新购动态云7折,经...
近日CloudCone商家对旗下的大硬盘VPS云服务器进行了少量库存补货,也是悄悄推送了一批便宜VPS云服务器产品,此前较受欢迎的特价20美元/年、1核心1G内存1Gbps带宽的VPS云服务器也有少量库存,有需要美国便宜大硬盘VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务...
外贸主机哪家好?抗投诉VPS哪家好?无视DMCA。ParkinHost今年还没有搞过促销,这次parkinhost俄罗斯机房上新服务器,母机采用2个E5-2680v3处理器、128G内存、RAID10硬盘、2Gbps上行线路。具体到VPS全部200Mbps带宽,除了最便宜的套餐限制流量之外,其他的全部是无限流量VPS。ParkinHost,成立于 2013 年,印度主机商,隶属于 DiggDigi...
dengjiagui为你推荐
操作http支持ipad支持ipad新iphone也将禁售iPhone停用怎么解锁 三种处理方法详解Flash动画设计与制作——第九章:导出和发布动画netshwinsockresetwin7系统我在输入netsh winsock reset后错误代码11003求大神解决上不了网文档下载手机下载的文件在哪里能找到加多宝与王老吉加多宝王老吉有什么区别吗?pintang深圳御品堂怎么才能保证他们卖的东西都是有机食品?即时通平台有好的放单平台吗?
shopex虚拟主机 域名到期查询 浙江vps 免费域名申请 美国php主机 鲜果阅读 免费ddos防火墙 国外在线代理 河南m值兑换 129邮箱 东莞数据中心 linux服务器维护 重庆双线服务器托管 厦门电信 cloudlink 四川电信商城 阿里云官方网站 贵阳电信 magento主机 cdn免备案空间 更多