ebook img

Anywhere-Anytime Signals and Systems Laboratory: From MATLAB to Smartphones PDF

211 Pages·2016·11.602 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Anywhere-Anytime Signals and Systems Laboratory: From MATLAB to Smartphones

Series ISSN: 1932-1236 Series Editor: José Moura, Carnegie Mellon University Anywhere-Anytime Anywhere-Anytime Signals and Systems Laboratory From MATLAB to Smartphones Signals and Systems Nasser Kehtarnavaz, University of Texas at Dallas Fatemeh Saki, University of Texas at Dallas A typical undergraduate electrical engineering curriculum incorporates a signals and systems Laboratory course. The widely used approach for the laboratory component of such courses involves the utilization of MATLAB to implement signals and systems concepts. This book presents a newly developed laboratory paradigm where MATLAB codes are made to run on smartphones, which most students already possess. This smartphone-based approach enables an anywhere- From MATLAB to Smartphones anytime platform for students to conduct signals and systems experiments. This book covers the laboratory experiments that are normally covered in signals and systems courses and discusses how to run MATLAB codes for these experiments on smartphones, thus enabling a truly mobile laboratory environment for students to learn the implementation aspects of signals and systems concepts. A zipped file of the codes discussed in the book can be acquired via the website http://sites.fastspring.com/bookcodes/product/SignalsSystemsBookcodes. Nasser Kehtarnavaz Fatemeh Saki About SYNTHESIS This volume is a printed version of a work that appears in the Synthesis Digital Library of Engineering and Computer Science. Synthesis books provide concise, original presentations of important research and development topics, published quickly, in digital and print formats. store.morganclaypool.com Anywhere-Anytime Signals and Systems Laboratory From MATLAB to Smartphones Synthesis Lectures on Signal Processing Editor JoséMoura,CarnegieMellonUniversity SynthesisLecturesinSignalProcessingpublishes80-to150-pagebooksontopicsofinterestto signalprocessingengineersandresearchers.eLecturesexploitindetailafocusedtopic.eycan beatdifferentlevelsofexposition-fromabasicintroductorytutorialtoanadvanced monograph-dependingonthesubjectandthegoalsoftheauthor.Overtime,theLectureswill provideacomprehensivetreatmentofsignalprocessing.Becauseofitsformat,theLectureswillalso providecurrentcoverageofsignalprocessing,andexistingLectureswillbeupdatedbyauthorswhen justified. LecturesinSignalProcessingareopentoallrelevantareasinsignalprocessing.eywillcover theoryandtheoreticalmethods,algorithms,performanceanalysis,andapplications.SomeLectures willprovideanewlookatawellestablishedareaorproblem,whileotherswillventureintoabrand newtopicinsignalprocessing.Bycarefulreviewingthemanuscriptswewillstriveforqualitybothin theLectures’contentsandexposition. Anywhere-AnytimeSignalsandSystemsLaboratory:FromMATLABtoSmartphones NasserKehtarnavazandFatemehSaki 2016 Smartphone-BasedReal-TimeDigitalSignalProcessing NasserKehtarnavaz,ShaneParris,andAbhishekSehgal 2015 AnIntroductiontoKalmanFilteringwithMATLABExamples NarayanKovvali,MaheshBanavar,andAndreasSpanias 2013 SequentialMonteCarloMethodsforNonlinearDiscrete-TimeFiltering MarceloG.S.Bruno 2013 ProcessingofSeismicReflectionDataUsingMATLAB™ WailA.MousaandAbdullatifA.Al-Shuhail 2011 iii Fixed-PointSignalProcessing WayneT.PadgettandDavidV.Anderson 2009 AdvancedRadarDetectionSchemesUnderMismatchedSignalModels FrancescoBandiera,DaniloOrlando,andGiuseppeRicci 2009 DSPforMATLAB™andLabVIEW™IV:LMSAdaptiveFiltering ForesterW.Isen 2009 DSPforMATLAB™andLabVIEW™III:DigitalFilterDesign ForesterW.Isen 2008 DSPforMATLAB™andLabVIEW™II:DiscreteFrequencyTransforms ForesterW.Isen 2008 DSPforMATLAB™andLabVIEW™I:FundamentalsofDiscreteSignalProcessing ForesterW.Isen 2008 eeoryofLinearPrediction P.P.Vaidyanathan 2007 NonlinearSourceSeparation LuisB.Almeida 2006 SpectralAnalysisofSignals:eMissingDataCase YanweiWang,JianLi,andPetreStoica 2006 Copyright©2017byMorgan&Claypool Allrightsreserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmittedin anyformorbyanymeans—electronic,mechanical,photocopy,recording,oranyotherexceptforbriefquotations inprintedreviews,withoutthepriorpermissionofthepublisher. Anywhere-AnytimeSignalsandSystemsLaboratory:FromMATLABtoSmartphones NasserKehtarnavazandFatemehSaki www.morganclaypool.com ISBN:9781627059015 paperback ISBN:9781627055031 ebook DOI10.2200/S00727ED1V01Y201608SPR014 APublicationintheMorgan&ClaypoolPublishersseries SYNTHESISLECTURESONSIGNALPROCESSING Lecture#14 SeriesEditor:JoséMoura,CarnegieMellonUniversity SeriesISSN Print1932-1236 Electronic1932-1694 Anywhere-Anytime Signals and Systems Laboratory From MATLAB to Smartphones Nasser Kehtarnavaz and Fatemeh Saki UniversityofTexasatDallas SYNTHESISLECTURESONSIGNALPROCESSING#14 M &C Morgan &cLaypool publishers ABSTRACT A typical undergraduate electrical engineering curriculum incorporates a signals and systems course.ewidelyusedapproachforthelaboratorycomponentofsuchcoursesinvolvestheuti- lization of MATLAB to implement signals and systems concepts. is book presents a newly developedlaboratoryparadigmwhereMATLABcodesaremadetorunonsmartphones,which most students already possess. is smartphone-based approach enables an anywhere-anytime platform for students to conduct signals and systems experiments. is book covers the labo- ratory experiments that are normally covered in signals and systems courses and discusses how to run MATLAB codes for these experiments on smartphones, thus enabling a truly mobile laboratory environment for students to learn the implementation aspects of signals and sys- tems concepts. A zipped file of the codes discussed in the book can be acquired via the website http://sites.fastspring.com/bookcodes/product/SignalsSystemsBookcodes. KEYWORDS smartphone-based signals and systems laboratory; anywhere-anytime platform for signalsandsystemcourses;fromMATLABtosmartphones vii Contents Preface ............................................................xi 1 IntroductiontoMATLAB ............................................ 1 1.1 StartingMATLAB ................................................1 1.1.1 ArithmeticOperations ........................................1 1.1.2 VectorOperations ............................................5 1.1.3 ComplexNumbers ...........................................6 1.1.4 ArrayIndexing ..............................................7 1.1.5 AllocatingMemory...........................................8 1.1.6 SpecialCharactersandFunctions................................9 1.1.7 ControlFlow...............................................10 1.1.8 ProgramminginMATLAB ...................................12 1.1.9 SoundGeneration...........................................13 1.1.10LoadingandSavingData .....................................14 1.1.11ReadingWaveandImageFiles.................................14 1.1.12SignalDisplay ..............................................15 1.2 MATLABProgrammingExamples ..................................15 1.2.1 SignalGeneration ...........................................15 1.2.2 GeneratingaPeriodicSignal ..................................17 1.3 LabExercises ....................................................18 2 AndroidSoftwareDevelopmentTools ................................. 21 2.1 InstallationSteps .................................................21 2.1.1 JavaJDK ..................................................21 2.1.2 AndroidStudioBundleandNativeDevelopmentKit...............22 2.1.3 EnvironmentVariableConfiguration ............................23 2.1.4 AndroidStudioConfiguration .................................24 2.1.5 AndroidEmulatorConfiguration...............................27 2.2 GettingFamiliarwithAndroidSoftwareTools..........................31 viii 3 FromMATLABCodertoSmartphone ................................ 43 3.1 MATLABFunctionDesign ........................................43 3.2 GeneratingSignalsviaMATLABonSmartphones ......................45 3.2.1 TestBench.................................................46 3.2.2 CCodeGeneration..........................................46 3.2.3 SourceCodeIntegration......................................48 3.3 RunningMATLABCoderCCodesonSmartphones....................52 3.4 References.......................................................56 4 LinearTime-InvariantSystemsandConvolution ........................ 57 4.1 ConvolutionandItsNumericalApproximation .........................57 4.2 ConvolutionProperties ............................................59 4.3 ConvolutionExperiments ..........................................59 4.4 LabExercises ....................................................89 4.4.1 EchoCancellation...........................................89 4.4.2 NoiseReductionUsingMeanFiltering ..........................90 4.4.3 ImpulseNoiseReductionUsingMedianFiltering..................91 4.5 RunningMATLABCoderCCodesonSmartphone ....................91 4.6 RunninginReal-TimeonSmartphones ...............................95 4.6.1 MATLABFunctionDesign...................................95 4.6.2 TestBench.................................................95 4.6.3 ModifyingaRealTimeShell ..................................99 4.7 References......................................................105 5 FourierSeries .................................................... 107 5.1 FourierSeriesNumericalComputation...............................108 5.2 FourierSeriesandItsApplications ..................................109 5.3 LabExercises ...................................................123 5.3.1 RLCircuitAnalysis ........................................123 5.3.2 eDopplerEffect .........................................124 5.3.3 SynthesisofElectronicMusic.................................124 5.4 References......................................................127 6 Continuous-TimeFourierTransform................................. 129 6.1 CTFTandItsProperties ..........................................129 6.2 NumericalApproximationsofCTFT ................................130 ix 6.3 EvaluatingPropertiesofCTFT.....................................130 6.4 LabExercises ...................................................159 6.4.1 CircuitAnalysis............................................159 6.4.2 MorseCoding .............................................159 6.4.3 eDopplerEffect .........................................160 6.4.4 DiffractionofLight ........................................162 6.5 References......................................................163 7 DigitalSignalsandeirTransforms ................................. 165 7.1 DigitalSignals ..................................................165 7.1.1 SamplingandAliasing ......................................165 7.1.2 Quantization ..............................................169 7.1.3 A/DandD/AConversions...................................169 7.1.4 DTFTandDFT...........................................173 7.2 Analog-to-DigitalConversion,DTFT,andDFT ......................174 7.3 LabExercises ...................................................193 7.3.1 Dithering.................................................193 7.3.2 ImageProcessing...........................................193 7.3.3 DTMFDecoder ...........................................193 7.4 References......................................................194 Authors’Biographies .............................................. 195 Index ........................................................... 197

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.