Experiment 1 Introduction to MATLAB and Simulink

Size: px
Start display at page:

Download "Experiment 1 Introduction to MATLAB and Simulink"

Transcription

1 Experiment 1 Introduction to MATLAB and Simulink INTRODUCTION MATLAB s Simulink is a powerful modeling tool capable of simulating complex digital communications systems under realistic conditions. It includes prepackaged blocks that encompass complete modulator, demodulator, coder, and decoder systems. There are also basic building blocks which can be combined to produce custom communications systems. Along with Simulink s basic blocks, there are blocksets for both communications and digital signal processing. To allow the testing and debugging of systems, there are a number of signal sinks which provide views of the signal in the time or frequency domain. Blocks to analyze the performance of a system are provided along with realistic channels which model impairments, such as noise and multipath distortion. A key point to remember is that Simulink is a sampled, discrete time system. This has implications for how fast a signal may change. MATLAB itself is an extensive mathematics tool that facilitates the manipulation of vectors and matrices and the calculation of complex equations using scalars, vectors and matrices. It possesses a number of tools for the plotting of data, including two and three dimensional graphs. There is an exhaustive set of functions which provide analytical tools like the Fourier Transform, Error and Complimentary Error (or Q) Functions. The purpose of this experiment is to acquaint the student with Simulink and provide a basic review of MATLAB. Students who are not familiar with MATLAB at all should refer to an excellent set of online tutorials at Information and tutorials about Simulink can be found at

2 PROCEDURE 1. MATLAB Tour and Review: Open MATLAB and verify that the arrangement of the desktop is as shown below: 2. Enter the following vectors in the Command Window at the >> prompt as shown below: g=[ ]; h=[ ]; Note the individual elements are separated by spaces. A semicolon would indicate a new row in a matrix. Also note the semicolon at the end of each entry. This tells MATLAB not to echo the entry or a result. 3. Multiply the two vectors using the * character, as shown: g*h Note: this returns an error. MATLAB uses the * character to indicate the multiplication of two matrices. 4. Multiply the two vectors using the.* character, as shown: g.*h This multiplies the vectors element by element, returning the squares of each number: This also applies for division. Try g/h and g./h. 5. Add the two vectors as shown: g+h Notice that this returns a result, adding the two vectors term by term, even though there is no period before the plus sign. This is because matrix addition is defined as term by term. The same is true for subtraction. 6. Create a simple square matrix using the form: g=[1 2 3; 4 5 6; 7 8 9]

3 Omitting the semicolon on the end of the line will cause MATLAB to echo back the matrix as: g = Now take the transpose of this matrix by entering: g This returns: ans = Use the help menu to find other matrix and vector operations 7. Enter the following commands: for n =1:360 pi= ; bear = pi*n/180; g(n)=sin(bear); h(n)=cos(bear); end Notice that these vectors appear with information about them in the Workspace pane. Plot the g vector with the following command: plot(g) Observe that the Figure 1 window appears with the sine wave. Now enter: plot(h) Notice that the sine wave has been replaced by the cosine wave. Now investigate the hold on and subplot commands to first, plot both vectors on a single plot, using different colors for each (see the plot command for that). And second, to plot the vectors on two separate panes in the same figures window. Finally, investigate using the plot command to plot a limited range of the vectors. For example, from n= 90 to n=270. At any point you can get help on a command by typing help followed by the command. For more detailed help, enter doc followed by the command. 8. Now open Simulink, either by entering simulink on the command line or by clicking on the icon shown below in the tool bar. This will open the Library Browser for Simulink. 9. Open a new model. (Under the File pull down menu). This will open a new window. Save this model with a name you choose.

4 10. Notice the different block sets in the Library. Find the Random Integer Generator by either searching for it or opening the Communications Blockset. Drag and drop this block into your model. Double click on the block in your model to open the dialogue box. Set M-ary Number to 2 and leave the rest of the entries as default. Now enter Scope into the search bar of the Library Browser. Notice this yields a number of scopes. Drag the first Scope under Simulink s Sink Library to your model and connect its input to the output of the Random Integer Generator. This can be done by clicking on the input of the scope and dragging a line to the output of the generator. Run the simulation by clicking on the play arrow in the model toolbar. When the simulation finishes, double click on the Scope block and observe the output of the Generator. Run the simulation again. Notice you always get the same pattern of bits. Open the Random Integer Generator block and change the Initial Seed to another number. Run the simulation again several times. Notice you always get a certain pattern of bits, but the pattern depends on the Initial Seed. Find the simulation time entry in the model tool bar to the right of the play button. It should be a default of 10. Change this to 20 and observe the scope. Notice that Simulink does not play in real time. It completes the 20 second simulation in about one second or less. 11. Often it will be useful in this lab to make the sample rate higher than the bit rate, i.e to have more than one sample/bit. Drag the Ideal Rectangular Pulse Filter to the model and place it between the Generator and the Scope. Open the block and set the following: Pulse Length: 10 Input Sampling Mode: Sample-Based Linear Amplitude Gain: 10 This will increase the sample rate to 10 samples per bit. Notice you must increase the gain by the same amount to compensate for the increase in samples. Run the model. Use the scope to determine if the waveform is any different. 12. Insert a Spectrum Scope into the model at the output of the Rectangular Filter. Set the following parameters in the Spectrum Scope. Buffer Input (checked) Buffer Length 64 Buffer Overlap 0 Specify FFT Length (checked) FFT Length 64 Number of spectral averages 32 Leave the rest of the parameters at their defaults. Set the simulation time to 200 and run the system and observe the location of the first null in the Spectrum Scope. You may need to select Axis Autoscale to observe the display. You may see some dips in the spectrum but the first null will be below -10dB.

5 13. Repeat steps 11 and 12 with a Pulse Length of 20. Remember to change the Gain in the Rectangular Filter to 20. Also change the Buffer Length to 128 and the FFT length to 128. Observe any differences in your results. For example, how wide is your frequency spectrum now? Are the nulls at different frequencies? What has changed about the spectral display qualitatively, e.g. is it smoother or rougher? 14. Return the Pulse Length to 10 and remember to adjust the gain accordingly. Insert the AWGN Channel between the output of the Rectangular filter and the Scope. Set the number of axes on the Scope to 2. Connect the second Scope input to the output of the Rectangular Filter. Remove the Spectrum Scope. Set the Signal to Noise Ratio (SNR) to 100 db, set the Power to 1 and run the system for 10 seconds. Verify that the two traces on the Scope are identical. Set the Signal to Noise Ratio to 10 db and run the system again. Compare the two traces. You will see the noise is not a continuous waveform, but made up of 10 samples for each symbol. For simplicity, we will set the decision threshold for whether the signal is a one or zero at 0.5. For how many of these samples is the channel output greater than 0.5 when the channel input is a zero? How often is the reverse true, i.e. a 1 is sent and the channel output is below 0.5? Try this with other signal to noise ratios, such as 5, 15, 20 and 25 db. You may have to expand the display vertically using the magnifying glass icon in the Scope display. Set the Signal to Noise Ratio to -10 db and run the simulation. How often does the channel output agree with the input? THOUGHTS FOR CONCLUSION In your conclusion you should think about the following: What are the advantages and disadvantages of using this type of simulation? What would be the advantages and disadvantages of increasing the sample rate in step 11? What ways might you think of for improving the detection of the signal when it is corrupted by noise? What is the worst error rate possible (i.e. when the SNR is very small or even negative)? Do not limit your conclusion to these questions. Think about what the experiment means and where it leads for future work.

COMMUNICATION LABORATORY

COMMUNICATION LABORATORY LAB 6: (PAM) PULSE AMPLITUDE MODULATION/DEMODULAT ION ON MATLAB/SIMULINK STUDENT NAME: STUDENT ID: SUBMISSION DATE : 15.04.2013 1/8 1. TECHNICAL BACKGROUND In pulse amplitude modulation, the amplitude

More information

Introduction to Simulink

Introduction to Simulink EE 460 Introduction to Communication Systems MATLAB Tutorial #3 Introduction to Simulink This tutorial provides an overview of Simulink. It also describes the use of the FFT Scope and the filter design

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm All problem numbers below refer to those in Haykin & Moher s book. 1. (FT) Problem 2.20. 2. (Convolution) Problem

More information

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual Memorial University of Newfoundland Faculty of Engineering and Applied Science Engineering 6871 Communication Principles Lab Manual Fall 2014 Lab 1 AMPLITUDE MODULATION Purpose: 1. Learn how to use Matlab

More information

Experiment 2 Effects of Filtering

Experiment 2 Effects of Filtering Experiment 2 Effects of Filtering INTRODUCTION This experiment demonstrates the relationship between the time and frequency domains. A basic rule of thumb is that the wider the bandwidth allowed for the

More information

Introduction to Simulink Assignment Companion Document

Introduction to Simulink Assignment Companion Document Introduction to Simulink Assignment Companion Document Implementing a DSB-SC AM Modulator in Simulink The purpose of this exercise is to explore SIMULINK by implementing a DSB-SC AM modulator. DSB-SC AM

More information

Experiment 1 Introduction to Simulink

Experiment 1 Introduction to Simulink 1 Experiment 1 Introduction to Simulink 1.1 Objective The objective of Experiment #1 is to familiarize the students with simulation of power electronic circuits in Matlab/Simulink environment. Please follow

More information

ECE411 - Laboratory Exercise #1

ECE411 - Laboratory Exercise #1 ECE411 - Laboratory Exercise #1 Introduction to Matlab/Simulink This laboratory exercise is intended to provide a tutorial introduction to Matlab/Simulink. Simulink is a Matlab toolbox for analysis/simulation

More information

Experiment 4 Detection of Antipodal Baseband Signals

Experiment 4 Detection of Antipodal Baseband Signals Experiment 4 Detection of Antipodal Baseand Signals INRODUCION In previous experiments we have studied the transmission of data its as a 1 or a 0. hat is, a 1 volt signal represented the it value of 1

More information

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

C.8 Comb filters 462 APPENDIX C. LABORATORY EXERCISES

C.8 Comb filters 462 APPENDIX C. LABORATORY EXERCISES 462 APPENDIX C. LABORATORY EXERCISES C.8 Comb filters The purpose of this lab is to use a kind of filter called a comb filter to deeply explore concepts of impulse response and frequency response. The

More information

ES442 Final Project AM & FM De/Modulation Using SIMULINK

ES442 Final Project AM & FM De/Modulation Using SIMULINK ES442 Final Project AM & FM De/Modulation Using SIMULINK Goal: 1. Understand the basics of SIMULINK and how it works within MATLAB. 2. Be able to create, configure and run a simple model. 3. Create a subsystem.

More information

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY NAME:. STUDENT ID:.. ROOM: INTRODUCTION TO AMPLITUDE MODULATION Purpose: The objectives of this laboratory are:. To introduce the spectrum

More information

Lab 1: Simulating Control Systems with Simulink and MATLAB

Lab 1: Simulating Control Systems with Simulink and MATLAB Lab 1: Simulating Control Systems with Simulink and MATLAB EE128: Feedback Control Systems Fall, 2006 1 Simulink Basics Simulink is a graphical tool that allows us to simulate feedback control systems.

More information

Laboratory Experiment #1 Introduction to Spectral Analysis

Laboratory Experiment #1 Introduction to Spectral Analysis J.B.Francis College of Engineering Mechanical Engineering Department 22-403 Laboratory Experiment #1 Introduction to Spectral Analysis Introduction The quantification of electrical energy can be accomplished

More information

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Lab 4 An FPGA Based Digital System Design ReadMeFirst Lab 4 An FPGA Based Digital System Design ReadMeFirst Lab Summary This Lab introduces a number of Matlab functions used to design and test a lowpass IIR filter. As you have seen in the previous lab, Simulink

More information

Use of the LTI Viewer and MUX Block in Simulink

Use of the LTI Viewer and MUX Block in Simulink Use of the LTI Viewer and MUX Block in Simulink INTRODUCTION The Input-Output ports in Simulink can be used in a model to access the LTI Viewer. This enables the user to display information about the magnitude

More information

Implementation of QAM Modulation Demodulation Based on. Simulink

Implementation of QAM Modulation Demodulation Based on. Simulink 1 Implementation of QAM Modulation Demodulation Based on Simulink Wanjian Jiang,Mingjie Zhao,Yaodong Tang Computer Technology and Engineering College, Qinhuangdao University, Hebei, China Abstract: This

More information

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective The objective is to teach students a basic digital communication

More information

FACULTY OF ENGINEERING LAB SHEET ETN3046 ANALOG AND DIGITAL COMMUNICATIONS TRIMESTER 1 (2018/2019) ADC2 Digital Carrier Modulation

FACULTY OF ENGINEERING LAB SHEET ETN3046 ANALOG AND DIGITAL COMMUNICATIONS TRIMESTER 1 (2018/2019) ADC2 Digital Carrier Modulation FACULTY OF ENGINEERING LAB SHEET ETN3046 ANALOG AND DIGITAL COMMUNICATIONS TRIMESTER 1 (2018/2019) ADC2 Digital Carrier Modulation TC Chuah (2018 July) Page 1 ADC2 Digital Carrier Modulation with MATLAB

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

Lab 1B LabVIEW Filter Signal

Lab 1B LabVIEW Filter Signal Lab 1B LabVIEW Filter Signal Due Thursday, September 12, 2013 Submit Responses to Questions (Hardcopy) Equipment: LabVIEW Setup: Open LabVIEW Skills learned: Create a low- pass filter using LabVIEW and

More information

Practice 2. Baseband Communication

Practice 2. Baseband Communication PRACTICE : Practice. Baseband Communication.. Objectives To learn to use the software Simulink of MATLAB so as to analyze baseband communication systems... Practical development... Unipolar NRZ signal

More information

EE 210 Lab Exercise #3 Introduction to PSPICE

EE 210 Lab Exercise #3 Introduction to PSPICE EE 210 Lab Exercise #3 Introduction to PSPICE Appending 4 in your Textbook contains a short tutorial on PSPICE. Additional information, tutorials and a demo version of PSPICE can be found at the manufacturer

More information

Measuring Modulations

Measuring Modulations I N S T I T U T E O F C O M M U N I C A T I O N E N G I N E E R I N G Telecommunications Laboratory Measuring Modulations laboratory guide Table of Contents 2 Measurement Tasks...3 2.1 Starting up the

More information

Experiments #6. Convolution and Linear Time Invariant Systems

Experiments #6. Convolution and Linear Time Invariant Systems Experiments #6 Convolution and Linear Time Invariant Systems 1) Introduction: In this lab we will explain how to use computer programs to perform a convolution operation on continuous time systems and

More information

Pull Down Menu View Toolbar Design Toolbar

Pull Down Menu View Toolbar Design Toolbar Pro/DESKTOP Interface The instructions in this tutorial refer to the Pro/DESKTOP interface and toolbars. The illustration below describes the main elements of the graphical interface and toolbars. Pull

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis All circuit simulation packages that use the Pspice engine allow users to do complex analysis that were once impossible to

More information

The oscilloscope and RC filters

The oscilloscope and RC filters (ta initials) first name (print) last name (print) brock id (ab17cd) (lab date) Experiment 4 The oscilloscope and C filters The objective of this experiment is to familiarize the student with the workstation

More information

RF Blockset For Use with Simulink

RF Blockset For Use with Simulink RF Blockset For Use with Simulink Modeling Simulation Implementation User s Guide Version 1 How to Contact The MathWorks www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_ts.html

More information

LabVIEW Day 2: Other loops, Other graphs

LabVIEW Day 2: Other loops, Other graphs LabVIEW Day 2: Other loops, Other graphs Vern Lindberg From now on, I will not include the Programming to indicate paths to icons for the block diagram. I assume you will be getting comfortable with the

More information

Alternative View of Frequency Modulation

Alternative View of Frequency Modulation Alternative View of Frequency Modulation dsauersanjose@aol.com 8/16/8 When a spectrum analysis is done on a FM signal, a odd set of side bands show up. This suggests that the Frequency modulation is a

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

Lab 1: First Order CT Systems, Blockdiagrams, Introduction

Lab 1: First Order CT Systems, Blockdiagrams, Introduction ECEN 3300 Linear Systems Spring 2010 1-18-10 P. Mathys Lab 1: First Order CT Systems, Blockdiagrams, Introduction to Simulink 1 Introduction Many continuous time (CT) systems of practical interest can

More information

TSKS01 Digital Communication

TSKS01 Digital Communication Lab Memo for TSKS01 Digital Communication Mikael Olofsson Department of EE (ISY) Linköping University, SE-581 83 Linköping, Sweden Autumn 2010 Note: This lab memo is intended for the course TSKS01 Digital

More information

Exploring QAM using LabView Simulation *

Exploring QAM using LabView Simulation * OpenStax-CNX module: m14499 1 Exploring QAM using LabView Simulation * Robert Kubichek This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 2.0 1 Exploring

More information

Lab 8. Signal Analysis Using Matlab Simulink

Lab 8. Signal Analysis Using Matlab Simulink E E 2 7 5 Lab June 30, 2006 Lab 8. Signal Analysis Using Matlab Simulink Introduction The Matlab Simulink software allows you to model digital signals, examine power spectra of digital signals, represent

More information

Laboratory 5: Spread Spectrum Communications

Laboratory 5: Spread Spectrum Communications Laboratory 5: Spread Spectrum Communications Cory J. Prust, Ph.D. Electrical Engineering and Computer Science Department Milwaukee School of Engineering Last Update: 19 September 2018 Contents 0 Laboratory

More information

LAB II. INTRODUCTION TO LABVIEW

LAB II. INTRODUCTION TO LABVIEW 1. OBJECTIVE LAB II. INTRODUCTION TO LABVIEW In this lab, you are to gain a basic understanding of how LabView operates the lab equipment remotely. 2. OVERVIEW In the procedure of this lab, you will build

More information

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r IT IS PREFERED that students ANSWER THE QUESTION/S BEFORE

More information

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15 INTRODUCTION The Diligent Analog Discovery (DAD) allows you to design and test both analog and digital circuits. It can produce, measure and

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006 MASSACHUSETTS INSTITUTE OF TECHNOLOGY.071/6.071 Introduction to Electronics, Signals and Measurement Spring 006 Lab. Introduction to signals. Goals for this Lab: Further explore the lab hardware. The oscilloscope

More information

Experiment # 4. Frequency Modulation

Experiment # 4. Frequency Modulation ECE 416 Fall 2002 Experiment # 4 Frequency Modulation 1 Purpose In Experiment # 3, a modulator and demodulator for AM were designed and built. In this experiment, another widely used modulation technique

More information

Excel Tool: Plots of Data Sets

Excel Tool: Plots of Data Sets Excel Tool: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows: : FFT Fast Fourier Transform This PRO Lesson details hardware and software setup of the BSL PRO software to examine the Fast Fourier Transform. All data collection and analysis is done via the BIOPAC MP35

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

SigCal32 User s Guide Version 3.0

SigCal32 User s Guide Version 3.0 SigCal User s Guide . . SigCal32 User s Guide Version 3.0 Copyright 1999 TDT. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical,

More information

Experiment 8: An AC Circuit

Experiment 8: An AC Circuit Experiment 8: An AC Circuit PART ONE: AC Voltages. Set up this circuit. Use R = 500 Ω, L = 5.0 mh and C =.01 μf. A signal generator built into the interface provides the emf to run the circuit from Output

More information

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB Contents 1 Preview: Programming & Experiments Goals 2 2 Homework Assignment 3 3 Measuring The

More information

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink Extensive introductory tutorials for MATLAB and Simulink, including Control Systems Toolbox and Simulink Control Design

More information

The secondary MZM used to modulate the quadrature phase carrier produces a phase shifted version:

The secondary MZM used to modulate the quadrature phase carrier produces a phase shifted version: QAM Receiver 1 OBJECTIVE Build a coherent receiver based on the 90 degree optical hybrid and further investigate the QAM format. 2 PRE-LAB In the Modulation Formats QAM Transmitters laboratory, a method

More information

Modelling and Simulation of a DC Motor Drive

Modelling and Simulation of a DC Motor Drive Modelling and Simulation of a DC Motor Drive 1 Introduction A simulation model of the DC motor drive will be built using the Matlab/Simulink environment. This assignment aims to familiarise you with basic

More information

Matlab for CS6320 Beginners

Matlab for CS6320 Beginners Matlab for CS6320 Beginners Basics: Starting Matlab o CADE Lab remote access o Student version on your own computer Change the Current Folder to the directory where your programs, images, etc. will be

More information

Lab #2 First Order RC Circuits Week of 27 January 2015

Lab #2 First Order RC Circuits Week of 27 January 2015 ECE214: Electrical Circuits Laboratory Lab #2 First Order RC Circuits Week of 27 January 2015 1 Introduction In this lab you will investigate the magnitude and phase shift that occurs in an RC circuit

More information

Ultra Wideband Transceiver Design

Ultra Wideband Transceiver Design Ultra Wideband Transceiver Design By: Wafula Wanjala George For: Bachelor Of Science In Electrical & Electronic Engineering University Of Nairobi SUPERVISOR: Dr. Vitalice Oduol EXAMINER: Dr. M.K. Gakuru

More information

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, February 8

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, February 8 CS/NEUR125 Brains, Minds, and Machines Lab 2: Human Face Recognition and Holistic Processing Due: Wednesday, February 8 This lab explores our ability to recognize familiar and unfamiliar faces, and the

More information

Ansoft Designer Tutorial ECE 584 October, 2004

Ansoft Designer Tutorial ECE 584 October, 2004 Ansoft Designer Tutorial ECE 584 October, 2004 This tutorial will serve as an introduction to the Ansoft Designer Microwave CAD package by stepping through a simple design problem. Please note that there

More information

ME scope Application Note 01 The FFT, Leakage, and Windowing

ME scope Application Note 01 The FFT, Leakage, and Windowing INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing

More information

ELG3311: EXPERIMENT 2 Simulation of a Transformer Performance

ELG3311: EXPERIMENT 2 Simulation of a Transformer Performance ELG33: EXPERIMENT 2 Simulation of a Transformer Performance Objective Using Matlab simulation toolbox (SIMULINK), design a model to simulate the performance of a single-phase transformer under different

More information

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2 ECE363, Experiment 02, 2018 Communications Lab, University of Toronto Experiment 02: Noise Bruno Korst - bkf@comm.utoronto.ca Abstract This experiment will introduce you to some of the characteristics

More information

SigCalRP User s Guide

SigCalRP User s Guide SigCalRP User s Guide . . Version 4.2 Copyright 1997 TDT. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose

More information

Software Simulation of Pulse Time Modulation Techniques

Software Simulation of Pulse Time Modulation Techniques Case Study Software Simulation of Pulse Time Modulation Techniques Introduction In recent years we have seen a growing interest in application of software simulation in communication engineering. With

More information

Type pwd on Unix did on Windows (followed by Return) at the Octave prompt to see the full path of Octave's working directory.

Type pwd on Unix did on Windows (followed by Return) at the Octave prompt to see the full path of Octave's working directory. MUSC 208 Winter 2014 John Ellinger, Carleton College Lab 2 Octave: Octave Function Files Setup Open /Applications/Octave The Working Directory Type pwd on Unix did on Windows (followed by Return) at the

More information

Combinational logic: Breadboard adders

Combinational logic: Breadboard adders ! ENEE 245: Digital Circuits & Systems Lab Lab 1 Combinational logic: Breadboard adders ENEE 245: Digital Circuits and Systems Laboratory Lab 1 Objectives The objectives of this laboratory are the following:

More information

Excel Lab 2: Plots of Data Sets

Excel Lab 2: Plots of Data Sets Excel Lab 2: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert This set of notes describes how to prepare a Bode plot using Mathcad. Follow these instructions to draw Bode plot for any transfer

More information

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17 LABORATORY 4 ASSIGNED: 3/21/17 OBJECTIVE: The purpose of this lab is to evaluate the transient and steady-state circuit response of first order and second order circuits. MINIMUM EQUIPMENT LIST: You will

More information

A time shift delay or advances the signal in time by a time interval +t 0 or t 0, without changing its shape.

A time shift delay or advances the signal in time by a time interval +t 0 or t 0, without changing its shape. Signal Operations Basic Operation of the Signals. 1.3.1. Time Shifting 1.3.2 Reflection and Folding. 1.3.3. Time Scaling 1.3.4 Precedence Rule for Time Shifting and Time Scaling. 2 Time Shifting Time shifting

More information

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS Objectives: There are two goals in this laboratory exercise. The first is to reinforce the Fourier series analysis you have done in the lecture portion of this course.

More information

PHYC 500: Introduction to LabView. Exercise 9 (v 1.1) Spectral content of waveforms. M.P. Hasselbeck, University of New Mexico

PHYC 500: Introduction to LabView. Exercise 9 (v 1.1) Spectral content of waveforms. M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 9 (v 1.1) Spectral content of waveforms This exercise provides additional experience with the Waveform palette, along

More information

ENGR 210 Lab 12: Sampling and Aliasing

ENGR 210 Lab 12: Sampling and Aliasing ENGR 21 Lab 12: Sampling and Aliasing In the previous lab you examined how A/D converters actually work. In this lab we will consider some of the consequences of how fast you sample and of the signal processing

More information

EITN90 Radar and Remote Sensing Lab 2

EITN90 Radar and Remote Sensing Lab 2 EITN90 Radar and Remote Sensing Lab 2 February 8, 2018 1 Learning outcomes This lab demonstrates the basic operation of a frequency modulated continuous wave (FMCW) radar, capable of range and velocity

More information

Lab 2: Introduction to Real Time Workshop

Lab 2: Introduction to Real Time Workshop Lab 2: Introduction to Real Time Workshop 1 Introduction In this lab, you will be introduced to the experimental equipment. What you learn in this lab will be essential in each subsequent lab. Document

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912 ArbStudio Triggers Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912 January 26, 2012 Summary ArbStudio has provision for outputting triggers synchronous with the output waveforms

More information

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout Linear Motion Servo Plants: IP01 or IP02 Linear Experiment #0: Integration with WinCon IP01 and IP02 Student Handout Table of Contents 1. Objectives...1 2. Prerequisites...1 3. References...1 4. Experimental

More information

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS Eastern Mediterranean University Faculty of Engineering Department of Electrical and Electronic Engineering EENG 360 Communication System I Laboratory LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS General

More information

An Introductory Guide to Circuit Simulation using NI Multisim 12

An Introductory Guide to Circuit Simulation using NI Multisim 12 School of Engineering and Technology An Introductory Guide to Circuit Simulation using NI Multisim 12 This booklet belongs to: This document provides a brief overview and introductory tutorial for circuit

More information

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives: Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Pentium PC with National Instruments PCI-MIO-16E-4 data-acquisition board (12-bit resolution; software-controlled

More information

EENG-201 Experiment # 4: Function Generator, Oscilloscope

EENG-201 Experiment # 4: Function Generator, Oscilloscope EENG-201 Experiment # 4: Function Generator, Oscilloscope I. Objectives Upon completion of this experiment, the student should be able to 1. To become familiar with the use of a function generator. 2.

More information

Signal Processing Blockset

Signal Processing Blockset Signal Processing Blockset For Use with Simulink Getting Started Version 6 How to Contact The MathWorks: www.mathworks.com comp.soft-sys.matlab support@mathworks.com suggest@mathworks.com bugs@mathworks.com

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill Engineering 3821 Fall 2003 Pspice TUTORIAL 1 Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill 2 INTRODUCTION The PSpice program is a member of the SPICE (Simulation Program with Integrated Circuit

More information

Quadrature Amplitude Modulation (QAM) Experiments Using the National Instruments PXI-based Vector Signal Analyzer *

Quadrature Amplitude Modulation (QAM) Experiments Using the National Instruments PXI-based Vector Signal Analyzer * OpenStax-CNX module: m14500 1 Quadrature Amplitude Modulation (QAM) Experiments Using the National Instruments PXI-based Vector Signal Analyzer * Robert Kubichek This work is produced by OpenStax-CNX and

More information

Sound synthesis with Pure Data

Sound synthesis with Pure Data Sound synthesis with Pure Data 1. Start Pure Data from the programs menu in classroom TC307. You should get the following window: The DSP check box switches sound output on and off. Getting sound out First,

More information

Math Labs. Activity 1: Rectangles and Rectangular Prisms Using Coordinates. Procedure

Math Labs. Activity 1: Rectangles and Rectangular Prisms Using Coordinates. Procedure Math Labs Activity 1: Rectangles and Rectangular Prisms Using Coordinates Problem Statement Use the Cartesian coordinate system to draw rectangle ABCD. Use an x-y-z coordinate system to draw a rectangular

More information

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

More information

EECS 307: Lab Handout 2 (FALL 2012)

EECS 307: Lab Handout 2 (FALL 2012) EECS 307: Lab Handout 2 (FALL 2012) I- Audio Transmission of a Single Tone In this part you will modulate a low-frequency audio tone via AM, and transmit it with a carrier also in the audio range. The

More information

3 USRP2 Hardware Implementation

3 USRP2 Hardware Implementation 3 USRP2 Hardware Implementation This section of the laboratory will familiarize you with some of the useful GNURadio tools for digital communication system design via SDR using the USRP2 platforms. Specifically,

More information

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that EE 464 Short-Time Fourier Transform Fall 2018 Read Text, Chapter 4.9. and Spectrogram Many signals of importance have spectral content that changes with time. Let xx(nn), nn = 0, 1,, NN 1 1 be a discrete-time

More information

MATLAB Assignment. The Fourier Series

MATLAB Assignment. The Fourier Series MATLAB Assignment The Fourier Series Read this carefully! Submit paper copy only. This project could be long if you are not very familiar with Matlab! Start as early as possible. This is an individual

More information

An Efficient Educational Approach for the Study of 16 QAM and Block Codes

An Efficient Educational Approach for the Study of 16 QAM and Block Codes An Efficient Educational Approach for the Study of 16 QAM and Block Codes Luciano L. Mendes and Geraldo G. R. Gomes Abstract: The main purpose of this paper is to show how some programs developed in the

More information

14 fasttest. Multitone Audio Analyzer. Multitone and Synchronous FFT Concepts

14 fasttest. Multitone Audio Analyzer. Multitone and Synchronous FFT Concepts Multitone Audio Analyzer The Multitone Audio Analyzer (FASTTEST.AZ2) is an FFT-based analysis program furnished with System Two for use with both analog and digital audio signals. Multitone and Synchronous

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2005

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2005 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.002 Circuits & Electronics Spring 2005 Lab #2: MOSFET Inverting Amplifiers & FirstOrder Circuits Introduction

More information

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. 2012 Signals and Systems: Laboratory 1 1 SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. corrigad@tcd.ie www.mee.tcd.ie/ corrigad The aims of this

More information