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.
hostkvm本月对香港国际线路的VPS、韩国CN2+bgp线路的VPS正在做7折终身优惠,对日本软银线路、美国CN2 GIA线路、新加坡直连线路的VPS进行8折终身优惠促销。所有VPS从4G内存开始支持Windows系统,当然主流Linux发行版是绝对不会缺席的!官方网站:https://hostkvm.com香港国际线路、韩国,7折优惠码:2021summer日本、美国、新加坡,8折优惠码:2...
部落分享过多次G-core(gcorelabs)的产品及评测信息,以VPS主机为主,距离上一次分享商家的独立服务器还在2年多前,本月初商家针对迈阿密机房限定E5-2623v4 CPU的独立服务器推出75折优惠码,活动将在9月30日到期,这里再分享下。G-core(gcorelabs)是一家总部位于卢森堡的国外主机商,主要提供基于KVM架构的VPS主机和独立服务器租用等,数据中心包括俄罗斯、美国、日...
简介华圣云 HuaSaint是阿里云国际版一级分销商(诚招募二级代理),专业为全球企业客户与个人开发者提供阿里云国际版开户注册、认证、充值等服务,通过HuaSaint开通阿里云国际版只需要一个邮箱,不需要PayPal信用卡,不需要买海外电话卡,绝对的零门槛,零风险官方网站:www.huasaint.com企业名:huaSaint Tech Limited阿里云国际版都有什么优势?阿里云国际版的产品...
dengjiagui为你推荐
primarily网易yeahcss加载失败个别网站加载CSS文件老是出错是怎么回事?在线代理QQ代理服务器怎么弄啊?地址是指IP,端口是什么?有必要该吗?还有用户,密码,都代表什么啊?iprouteip route-static 192.168.1.0 255.255.255.0 3.3.3.2什么意思波音737起飞爆胎客机起飞的时候时速是多少?netshwinsockreset游戏出现battlEye Launcher 怎么办密码cuteftp文档下载手机下载的文件在哪里能找到腾讯公司电话腾讯总公司服务热线是多少我爱e书网侯龙涛小说那里有下载的
ip查域名 俄罗斯vps 域名抢注工具 awardspace godaddy主机 英语简历模板word 青果网 anylink 速度云 广州服务器 智能dns解析 smtp服务器地址 服务器论坛 lamp怎么读 免费赚q币 免 海外加速 hosts文件修改 免费服务器 主机声音大 更多