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.
CheapWindowsVPS是一家成立于2007年的老牌国外主机商,顾名思义,一个提供便宜的Windows系统VPS主机(同样也支持安装Linux系列的哈)的商家,可选数据中心包括美国洛杉矶、达拉斯、芝加哥、纽约、英国伦敦、法国、新加坡等等,目前商家针对VPS主机推出5折优惠码,优惠后最低4GB内存套餐月付仅4.5美元。下面列出几款VPS主机配置信息。CPU:2cores内存:4GB硬盘:60G...
有一段时间没有分享Gcore(gcorelabs)的信息了,这是一家成立于2011年的国外主机商,总部位于卢森堡,主要提供VPS主机和独立服务器租用等,数据中心包括俄罗斯、美国、日本、韩国、新加坡、荷兰、中国(香港)等多个国家和地区的十几个机房,商家针对不同系列的产品分为不同管理系统,比如VPS(Hosting)、Cloud等都是独立的用户中心体系,部落分享的主要是商家的Hosting(Virtu...
Hostodo发布了几款采用NVMe磁盘的促销套餐,从512MB内存起,最低年付14.99美元,基于KVM架构,开设在拉斯维加斯机房。这是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,产品性能一般,数据中心目前在拉斯维加斯和迈阿密,支持使用PayPal或者支付宝等付款方式。下面列出几款NVMe硬盘套餐配置信息。CPU:1core内存:512MB...
dengjiagui为你推荐
操作http操作httpuctools为什么一直服务器暂不可用flashfxp用Flashfxp上传网站的具体步骤phpcms模板请教 phpcms v9 如何设置新模板为系统默认模板?字节跳动回应TikTok易主#北京字节跳动科技有限公司#小说审核有三面么?我面试了两轮就叫我回家等消息了 要是刷下来了也该告支付宝是什么什么是支付宝? 请详细介绍.360免费建站聚企360建站是免费的?补贴eset大飞资讯单仁资讯集团怎么样
如何注册域名 80vps 网站挂马检测工具 个人免费空间 灵动鬼影 193邮箱 双拼域名 服务器维护方案 怎样建立邮箱 91vps 可外链相册 qq对话框 百度云加速 华为云建站 双线空间 工信部icp备案查询 国外网页代理 阿里dns 万网服务器 贵州电信 更多