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.
今天看到群里的老秦同学在布局自己的网站项目,这个同学还是比较奇怪的,他就喜欢用这些奇怪的域名。比如前几天看到有用.in域名,个人网站他用的.me域名不奇怪,这个还是常见的。今天看到他在做的一个范文网站的域名,居然用的是 .asia 后缀。问到其理由,是有不错好记的前缀。这里简单的搜索到.ASIA域名的新注册价格是有促销的,大约35元首年左右,续费大约是80元左右,这个成本算的话,比COM域名还贵。...
IncogNet LLC是个由3个人运作的美国公司,主要特色是隐私保护,号称绝对保护用户的隐私安全。业务涵盖虚拟主机、VPS等,支持多种数字加密货币、PayPal付款。注册账号也很简单,输入一个姓名、一个邮箱、国家随便选,填写一个邮箱就搞定了,基本上不管资料的真假。当前促销的vps位于芬兰机房,全部都是AMD Ryzen系列的CPU,性能不会差的!5折优惠码:CRYPTOMONTH,支持:BTC,...
百纵科技怎么样?百纵科技国人商家,ISP ICP 电信增值许可证的正规公司,近期上线美国C3机房洛杉矶独立服务器,大带宽/高配置多ip站群服务器。百纵科技拥有专业技术售后团队,机器支持自动化,自助安装系统 重启,开机交付时间 30分钟内交付!美国洛杉矶高防服务器配置特点: 硬件配置高 线路稳定 洛杉矶C3机房等级T4 平价销售,支持免费测试,美国独服适合做站,满意付款。点击进入:百纵科技官方网站地...
dengjiagui为你推荐
亿元企业小企业如何做品牌一个小企业,如何做大做强?internalservererrorError 500--Internal Server Error如何解决?filezillaserver谁用过FileZilla_Server啊,请教美要求解锁iPhone怎么用爱思手机助手解锁苹果手机?电子商务世界世界第一的电子商务网站???qq头像上传失败昨天和今天QQ头像上传失败,是怎么回事?discuz下载谁给我发下Discuz-x2.5安装教程邮件管理系统什么邮箱管理软件好用?zencartzencart opencart 哪个好
高防服务器租用选锐一 godaddy域名优惠码 青果网 mysql主机 web服务器的架设 vip购优惠 支持外链的相册 宏讯 php服务器 winserver2008 架设代理服务器 此网页包含的内容将不使用安全的https asp.net虚拟主机 g6950 ddos攻击器 监控主机 主机声音大 免费免备案cdn sockscap怎么用 最好的空间留言 更多