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

Racq vehicle insurance certificate - What it means to say phoenix arizona summary - Swot analysis of horlicks - Leading change why transformation efforts fail - Wk 6 forum 2 Nicole - How to clear stored variables in ti nspire - Usc health sciences campus map - Producer consumer problem using c++ - Logos in julius caesar - I had seen castles sparknotes - Chapter 18 prentice hall chemistry answers - Fairness by chinelo okparanta summary - Mlt study guide pdf - The 'lost in space' program at semco could be considered ______. - Roberto carmona hablΓ³ de los impuestos en su discurso. cierto falso - Are fish fingers halal - Managing diversity at cityside financial services - Microelectronic circuits 7th edition problems - Ray moore radio 2 - Mathematical economics and econometrics pdf - Extracting salicylic acid from willow bark experiment - Contributing pigment in hair color - Atomic Structure, Chemical Bonding, Lewis Structure, and 3D Molecular Shape - How to calculate bcg matrix in excel - Hq afsva approved events - Creating a company culture for security example - Pyramids of montauk explorations in consciousness pdf - Elc spell and learn - Key characteristics of history lens - Video questions the century 1953 1960 happy days answers - Human resource management interventions od - 3621 collins ave apt 209 miami beach fl 33140 - Wk 5 - Ifrs 5 exam questions and answers pdf - Carboxylic acids and esters - Ifac qualified line manager - Writing in the moment - A raisin in the sun act 2 pdf - Altium via in pad - How does a cavitron work - Motifs to use in a story - Bi color led circuit - Dq - Analyzing costs and returns - Social media complaint format - Hp serial number decoder - Bessel van der kolk neurofeedback - The dutch company european foods apple sauce 720g - C11 Lesson 6 & 7 Exam SCORE 92.5 PERCENT - Copper carbonate and hydrochloric acid experiment - Pop culture essay outline - Hne yorku - Should there be phones in school - Find lowest common denominator - Amoeba sisters natural selection worksheet - Can someone help me with Week 2 Assignment in Principle of Marketing? - Sylvia the truman show - FOUNDATION OF PUBLIC HEALTH NURSING - 10 mary street poem analysis - Research paper - A _______ is often used to cut holes to install outlet boxes in old installations. - On course study skills plus 2nd edition pdf - Consider the decision models that can be used in the decision(due on 1 days) - Cell growth and division test - 9 foot 6 in meters - Write observation - Stage front crossword clue - Sister sister braiding gulf freeway - Spectra precision survey pro - Help needex - Homeland Discussion 4 - Which of the following composers wrote this symphony - Six step decision making process - Zara fulfillment center - Why are frankie and patricia in the hospital - Cyberpunk 2077 - Philosophy on Behavior Management - Living things and non living things drawing - Business law HW - Exercises - Robbie macklin driving school - Social,Ethical & Legal Discussion & Reflection - Week 14 - Organizations affected by hurricane katrina - Charging optima red top - Teesside university graduation photography - Community Nursing week 7 DQ 1 - Pdf the merchant of venice - Lse graduate admissions email - Minitab confidence interval regression - Mother tongue close reader answers - Mission essential task list - Gym full body workout plan pdf - Wechsler individual achievement test score interpretation - In a parallel circuit the voltage is across all branches - Recruiting new employees via the internet allows companies to _________ - Costco cost structure - Altex corporation case study - Mr porter orthopaedic surgeon - Create a scenario summary report excel 2013 - Ulster hospital telephone number