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

Review the nervous system, endocrine system, and special senses in this week’s Learning Resources. Investigate how your assigned health condition impacts those systems. Select the system that is most significantly impacted. - Debut emcee script introduction - Personal troubles and public issues sociological imagination - Dr kazmi st albans - Six different images of managing change - Pinacol pinacolone rearrangement lab report - Keppel island construction and electrical inc - Weinberg and gould 1995 - 600 words: Watch the following video, and Provide a critique. Also, think of other possible scenarios where mobile technology can be used to address humanitarian efforts. - Aqa gcse english language 2017 grade boundaries - Case study - ASSIGNMENT - 4240 carnation ln las vegas nv 89108 - Kia suv model name sounds a bit fit and athletic - Ol 125 personal development plan final submission - East west university grading system - Shockley read hall recombination - The discretionary assistance fund - Heat exchanger test ring drawing - Operating Security - Mnemonic generator using letters - Boston desegregation busing crisis - Amy tan mother tongue main ideas - Legal and Social Issues in Business - Vodafone and hutch merger case study - Organizational behaviour understanding and managing life at work pdf - Finance Assignment - 20b smith street reservoir - Creative writing george brown - Sir charles gairdner eye clinic - John maclean gender - Brytewave redshelf com brytewave redshelf com - Finance Question - Schroder investment management australia limited - Michael jordan outline - Volunteer work canberra hospital - Ethical issues in coaching - Sorenson goldsmith integrated budget model - Personal Anecdote - Funny Incident - Week-7 discussion cpm - A fairly subtle approach to advertising is _____. - Responses - Marketing Strategies New England College - Discussion board - Part 1 and Part 2 - Sodium hypochlorite density g ml - Wk 2 Discussion - The great divorce chapter 5 - Assignment - Prodiscover basic software - Regular expression in automation anywhere - The 9 circles of hell - EP Wk8 - Letter of advice example - Georgia furniture mart formerly underpriced furniture - Islamic proverbs in english - George and lennie's dream - I feel strongly about essay - The alamo drafthouse case study - Assessment - Campus clothiers excel - Taylor series 1 x centered at 1 - Essbase report script level 0 - Discussion question - Evaluate Leadership Styles and Behaviors That Promote Effective Communication - Write a 5-paragraph essay - Accrued interest income adjusting entry - Half round concrete culvert pipe - Life stages nutrition presentation sci 220 - Calorimetry lab data sheet answer key - Tui hr self service - Managerial accounting grades homework - Topic 2: Population and Sampling Distributions - Distribution channel of nike ppt - C++ menu driven program - Blue accent 1 lighter 80 excel - Dhcp excluded address cisco - Call +91-9924492424- Love Vashikaran -- Specialist Baba Ji. - Ratio analysis assignment doc - E toyota supplier portal - Pros and cons of nursing - Read write think bio cube - Multiracial feminism becky thompson summary - Advantages of conceptual framework in research - Field of view microscope - Hovells creek estate lara - Collect, compare and contrast economic data on two countries - Bill nye phases of matter worksheet - Article writing (550 words) - Watashi wa nihongo ga wakarimasen - Week 6 Discussion - 133 moverly road south coogee - Definition Essay - Required Practical Connection - Block format business cover letter - Cisco ws g5486 datasheet - List of 2015 massively multiplayer online video games - Underlying assumptions of financial statements - Sample news report script - The conquest of mexico was one aggressive ap lang answers