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

Biographies of hegemony karen ho - NEED 3+ PAGES WITH 4 REFERENCES CITED IN APA FORMAT - Minitab confidence interval regression - The declining balance method of depreciation produces - Lake windermere water temperature - Determining water hardness by edta titration calculations - How mr rabbit was too sharp for mr fox - Reading Instructional Strategies - Discussion Board due Wednesday 10.28.2020 @ 3PM EST - 3 discussions due in 4 DAYS - ORGANIC CHEMISTRY LAB REPORT : RECRYSTALIZING IMPURE SOLIDS: MINISCALE PROCEDURES - Sportex fishing rod blanks - Nursing theory - Assignment 2 situation analysis - William wordsworth anecdote for fathers analysis - Brisbane city council retaining walls - Types of restraints in pediatrics ppt - What technology does mildred use to go to sleep - Finfet technology in vlsi - Genghis khan restaurant chatswood - 126 minutes to hours - Non preemptive priority scheduling program in c with arrival time - Components to building an effective and successful csirt team - Discussion - Swinburne online important dates - Data structure and Algorithm Analysis - 700-1050 word Company Policy (Ethics & Legal Topics in Business) - Sensitivity analysis questions and answers - Long term care week 6 - Nitrogen trihydride bond type - A compact disc stores music in a coded pattern - Basic parts of a book - Stats3 - Irony as a principle of structure - Forensic Assignment 9 - Discussion - Ezproxy liberty 2048 login - Interesting facts about comets asteroids and meteors - A beam of protons traveling at - 20000 leagues to km - Assembling and disassembling of computer - Stonebridge mental health nottingham - A Doll's House Act I - Whitlock v brew 1968 118 clr 445 - Organic chemistry 9th edition mcmurry test bank - Homework - Kaba time clock configuration - Difference between validation and verification in simulation - Library Assignment 2 - Paper towns chapter 3 summary - Radius of circle in python - Discussions and Paper - Skill based assessment packet tracer - Joint office of gas transporters - What are the big three of cash management - Crysis 10000 barrel explosion - The book thief bombing of himmel street quotes - Http www mathsisfun com pythagoras html - Sonicwall connect tunnel a network adapter hardware error occurred - Global Societal Problem, Argument and Solution - Leadership and learning are indispensable to each other essay - How you put people together affects? - Unit 4 - Colin palmer african diaspora - Bohr rutherford diagram periodic table - Westcotec speed indicator device - What is a wedge simple machine - What cell part stores material within the cell - Letter to parents introducing new teacher - Occupation and tools worksheetoccupation and tools worksheet - Columbo candidate for crime cast - Call of the wild author - Combinations in python - Patient admission - Qc makeup academy australia - Lead info tech planning - ETCM-Research-6 - Engineering - Lifelong vitality pack pdf - University of sunderland transcript request - Sandwich panel installation manual - The crucial role of the nurse in ehr implementation - ?? same-day +27833173182 MAFETENG ABORTION CLINIC // PILLS,,,, - Middle road media case study - Corporate Finance HW - A food handler notices that the water - Examples of marketing myopia today - Respect for acting author hagen - Which statement below describes a variable cost - Apple corporate social responsibility jobs - Visual basic dasturlash tili - Acu bachelor of nursing enrolled nurse - InfoTech Import in Strat Plan (ITS-831-M30) - Full Term - Lakeside healthcare at oundle - Regional manager job titles - Aci dealing simulation course - Macro world society and culture - Scope of electrical engineering in germany - Essex adult safeguarding board - Principles of marketing assignment questions