Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Signals and systems laboratory with matlab pdf

23/11/2021 Client: muhammad11 Deadline: 2 Day

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

1

LAB 4: CONVOLUTION

Background & Concepts

Convolution is denoted by:

𝑦[𝑛] = π‘₯[𝑛] βˆ— β„Ž[𝑛]

Your book has described the "flip and shift" method for performing convolution. First, we

set up two signals π‘₯[π‘˜] and β„Ž[π‘˜]:

Flip one of the signals, say β„Ž[π‘˜], to form β„Ž[βˆ’π‘˜]:

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

2

Shift β„Ž[βˆ’π‘˜] by n to form β„Ž[𝑛 βˆ’ π‘˜]. For each value of 𝑛, form 𝑦[𝑛] by multiplying and

summing all the element of the product ofπ‘₯[π‘˜]β„Ž[𝑛 βˆ’ π‘˜], βˆ’βˆž < π‘˜ < ∞. The figure

below shows an example of the calculation of𝑦[1]. The top panel showsπ‘₯[π‘˜]. The

middle panel showsβ„Ž[1 βˆ’ π‘˜]. The lower panel showsπ‘₯[π‘˜]𝑦[1 βˆ’ π‘˜]. Note that this is a

sequence on a π‘˜ axis. The sum of the lower sequence over all k gives 𝑦[1] = 2.

We repeat this shifting, multiplication and summing for all values of 𝑛 to get the

complete sequence 𝑦[𝑛]:

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

3

The conv Command

conv(x,h) performs a 1-D convolution of vectors π‘₯ and β„Ž. The resulting vector 𝑦

has length length(𝑦) = length(π‘₯) + length(β„Ž) βˆ’ 1. Imagine vector π‘₯ as being

stationary and the flipped version of β„Ž is slid from left to right. Note that conv(x,h) =

conv(h,x). An example of the convolution of two signals and plotting the result is

below:

>> x = [0.5 0.5 0.5]; %define input signal x[n]

>> h = [3.0 2.0 1.0]; %unit-pulse response h[n]

>> y = conv(x,h); %compute output y[n] via convolution

>> n = 0:(length(y)-1); %for plotting y[n]

>> stem(n,y) % plot y[n]

>> grid;

>> xlabel('n');

>> ylabel('y[n]');

>> title('Output of System via Convolution');

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

4

Deconvolution

The command [q,r] = deconv(v,u), deconvolves vector u out of vector v, using long

division. The quotient is returned in vector q and the remainder in vector r such that

v = conv(u,q)+r. If u and v are vectors of polynomial coefficients, convolving them is

equivalent to multiplying the two polynomials, and deconvolution is polynomial

division. The result of dividing v by u is quotient q and remainder r. An examples is

below:

If

>> u = [1 2 3 4];

>> v = [10 20 30];

The convolution is:

>> c = conv(u,v)

c =

10 40 100 160 170 120

Use deconvolution to recover v.

>> [q,r] = deconv(c,u)

q =

10 20 30

r =

0 0 0 0 0 0

This gives a quotient equal to v and a zero remainder.

Structures

Structures in Matlab are just like structures in C. They are basically containers that

allow one to group together more than one type of data under the umbrella of one

variable name. As we mentioned previously, Matlab always assumes that the index

of the first element of an array is 1. So, when we just say:

>> x = [1 2 3 4 5];

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

5

This means that π‘₯[1] = 1, π‘₯[2] = 2, and so on. But, what if we want to express a

sequence π‘₯[βˆ’1] = 1, π‘₯[0] = 2, . ..? We obviously need to provide the user with some

additional information in addition to the array data, namely an offset. An offset of -1

tells the user that "we want you to interpret the first point in the Matlab array as

corresponding to π‘₯[βˆ’1]. We can use structures for this purpose. The form of a

structure is variable Name.field. For example:

>> x.data = [1 2 3 4 5];

>> x.offset = -1;

>> x

x =

data: [1 2 3 4 5]

offset: -1

We have declared a variable x, with two fields. The data field contains an array; the

offset field contains another number. Structures of this type can be useful for us in

expressing sequences in Matlab.

ELEG 320L – Signals & Systems Laboratory /Dr. Jibran Khan Yousafzai Lab 4

6

EXERCISES

Exercise 1:

Let

𝑓[𝑛] = 𝑒[𝑛] – 𝑒[𝑛 βˆ’ 4]

𝑔[𝑛] = 𝑛. 𝑒[𝑛] – 2(𝑛 βˆ’ 4). 𝑒[𝑛 βˆ’ 4] + (𝑛 βˆ’ 8). 𝑒[𝑛 βˆ’ 8]

Make stem plots of the following convolutions using MATLAB.

1. 𝑓[𝑛] βˆ— 𝑓[𝑛]

2. 𝑓[𝑛] βˆ— 𝑓[𝑛] βˆ— 𝑓[𝑛]

3. 𝑓[𝑛] βˆ— 𝑔[𝑛]

4. 𝑔[𝑛] βˆ— 𝛿[𝑛]

5. 𝑔[𝑛] βˆ— 𝑔[𝑛]

Exercise 2:

Consider the interconnection of the LTI systems depicted in the following figure:

Generate the impulse response of the overall system when:

β„Ž1[𝑛] = 2𝑛 {𝑒[𝑛] βˆ’ 𝑒[𝑛 βˆ’ 4]}, 0 ≀ 𝑛 ≀ 4

β„Ž2[𝑛] = 𝛿[𝑛] βˆ’ 4𝛿[𝑛 βˆ’ 4], 0 ≀ 𝑛 ≀ 5

β„Ž3[𝑛] = β„Ž4[𝑛] = 𝛿[𝑛 βˆ’ 5], 0 ≀ 𝑛 ≀ 6

Exercise 3:

Using structures & conv command, find out the convolution of two sequences with

arbitrary starting points.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Buy Coursework Help
Top Class Results
Academic Master
Peter O.
Study Master
Quick Mentor
Writer Writer Name Offer Chat
Buy Coursework Help

ONLINE

Buy Coursework Help

Being a Ph.D. in the Business field, I have been doing academic writing for the past 7 years and have a good command over writing research papers, essay, dissertations and all kinds of academic writing and proofreading.

$42 Chat With Writer
Top Class Results

ONLINE

Top Class Results

I have read your project description carefully and you will get plagiarism free writing according to your requirements. Thank You

$33 Chat With Writer
Academic Master

ONLINE

Academic Master

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$15 Chat With Writer
Peter O.

ONLINE

Peter O.

I will be delighted to work on your project. As an experienced writer, I can provide you top quality, well researched, concise and error-free work within your provided deadline at very reasonable prices.

$30 Chat With Writer
Study Master

ONLINE

Study Master

I have written research reports, assignments, thesis, research proposals, and dissertations for different level students and on different subjects.

$27 Chat With Writer
Quick Mentor

ONLINE

Quick Mentor

I have assisted scholars, business persons, startups, entrepreneurs, marketers, managers etc in their, pitches, presentations, market research, business plans etc.

$22 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Gcu christian identity and heritage - ERM Management - Food webs and food chains worksheet - What are three advantages of activity based costing - Caen car park braunton - 1.9 7 ball in each corner codehs answers - My mother combs my hair poem analysis - As3679.1 grade 300 mechanical properties - How much does ttma pay - A cheerleading staple that was patented in 1971 by herkimer - Tweak nic sheff quotes - Ual unit 8 project proposal - Olga is the proprietor of a small business - In which domain do you implement web content filters? - Aluminium window fixing lugs - Pest analysis on coca cola - Colter company prepares monthly - Annam brahma raso vishnu - Papa johns swot analysis 2017 - Changing ways of life - Navalwarcollege blackboard - O connor's religious store latham ny - Wisdom sits in places chapter 4 summary - Children's sense of agency - Kaplan birmingham email address - The new colossus by emma lazarus is an example of - Shockley read hall recombination - Psychcentral com personality test start php - 2-1 - Ernest jones hamlet and oedipus - Acid base titration lab report abstract - Difference between sensory memory and sensory register - What organelle in the cell creates co2 - 6 6 challenge problem p 174 accounting answers - Econmovies episode 6 worksheet answers - Heart probs - First moment of area list - DISCUSSION POST - WEEK 3 - Cerium sulfate solubility curve - Systematic and Unsystematic Risk - Costa coffee digital marketing strategy - Skywarn spotter convective basics - Sop for diploma in canada - Week 1 Part 2A - Training assignment 7 - How many beagles weigh between 22.5 and 29.5 - How much are kitchener rangers season tickets - Safe homes international 55724 door reinforcer - A clothier makes coats and slacks - Sustainbility Essay - TCOM_6324 Discussion - 5.03 business ethics case studies answers - Classroom management for elementary teachers 10th edition - The dry adiabatic lapse rate is - Serving in florida barbara ehrenreich thesis - John monash science school entrance exam practice test - Avocado and artichoke philosophy - D - Clinical Field Experience C: Roles and Responsibilities of the Special Educator - Gopro pestel analysis - Ids 495 assignment - Should students be allowed to bring cellphones in school - Swot analysis of cosmetic industry in india - Describing Common stocks - High ropes market rasen - How to create a cvp chart in excel - Food Essay - Chappell and co v nestle - Discussion #1 - Tell us about a "causal study" you've been involved in. - Health promotion project plan template - What is a sequence - Premier's reading challenge vic - Macy's believe campaign case study - Hub subcontracting opportunity notification form - Activity 2 - How will you convert benzaldehyde to benzophenone - Internal financial control documentation template - Does Marketing Create or Satisfy Needs? - Ambassador john w mcdonald - Career counseling case study - Monster high 31 wishes games - Commonwealth parliamentary offices melbourne - Ifsm 201 excel project 1 rental cars - How many languages does trevor noah speak - Arousal cycle challenging behaviour - Word cookies yogurt 5 special level monarch - Powerlifting 5 day split - Critical Infrastructure: Emergency Services - Dateline ira bernstein - SPC - Ball state men's volleyball - Target costing case study tata nano - Module 2 Lecture Questions - Academic misconduct letter sample - Computer Information System Due Before Friday - Driving medical assessment form - Aromatic ammonia punishment - 90 confidence interval z-score - All wales medicines strategy group - Spanish portfolio ideas