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

Hyndland primary school uniform - Chemical formula for potassium and bromine - Property valuation report pdf - Mckinsey and company managing knowledge and learning case analysis - An aed can be used on an infant - Multithreading models in operating system pdf - How to find standard deviation on statcrunch - Study link 7.4 dividing squares answers - Essay on opedius the king (topic in attachment) - Six sigma call center case study - Greek word translated to mean "diligence in the pursuit of moral and physical excellence”. - Crime analysis focuses - Essay "River in flood" - Cepeda corporation has the following cost records for june 2014 - Firdon fabrications pty ltd - C&FI4 - Homicide Investigation - Peter drucker 5 questions pdf - What adjustment is made for underapplied overhead - Urgent - Rome's conquest of the hellenistic world resulted in - What is in floraspring - Vicroads side entry pit - Food ordering system data flow diagram - Rea diagram for revenue cycle - Just so stories script - Work of MT Right - Final Exam Essay - Economics - Assignment 1 network infrastructure design diagramming - Personal shopper topshop salary - Archimedes principle buoyant force - Contention in an essay - Information governance reference model igrm diagram - Psychology unit 2 aos 2 - Scholarly Activity written - Ringtons tea van salesperson - Www kaggle com c digit recognizer - Duke merchant of venice - Cultural criticism essay regarding β€œYoung Goodman Brown” - Engineering handbook of conversion factors - Ministry of road transport and highways sarathi - What caused the chicago race riots of 1919 answers - Inotropy chronotropy dromotropy lusitropy - Explorations conducting empirical research in canadian political science pdf - Naplan persuasive writing examples - Β‘a ver, chicas! Γ©stos son los planes para maΓ±ana. presten atenciΓ³n porque no quiero - MIC 100 - Microbiology - Kobe bryant vs michael jordan comparison contrast essay - Discussion On AG Lafley Strategy Theories Options Menu: Forum - Ubc 1997 building code volume 2 - Pol 201 week 1 discussion 1 - 6.5 turbo diesel cdr valve bypass - Use zero through third order taylor series - Tectonic setting of sequoia – kings canyon national park - How would ethics support these four quality of life issues? - Short story to teach plot diagram - 2 charolais square doreen - Gateway cengage new account success html - Pancho's title loans sunland park - Process Recording - Activation energy of persulfate iodide reaction - Midband analysis of small signal amplifiers - New right theory education - Rmit advanced manufacturing and mechatronics - List the accounting cycle steps in proper order mcgraw hill - The rainbow crow and the silent songbird answers - Juliette reeves dental hygienist - Laurence jackson school teachers - Sunpower e20 327 e ac - Miss buchanan's period of adjustment - List and explain four factors of production - Why did mrs danvers burn down manderley - Human Resources Management week 2 - Scatter plot guided notes - What is a literary form - What is a furuncle with interconnecting subcutaneous pockets - What does unsuccessful authorization mean on sephora - Flight centre limited annual report - Cisco unified cm assistant console - Business Law - What is a windshield survey nursing - Life tables and survivorship worksheet answers - Math connections answer key science - Hush puppies creative brief - Machine code to risc v converter - Placide tempels bantu philosophy pdf - 2-4 pages Business assignment - Difference between mode switch and process switch - Merge and center the contents of cells a2 e2 - A study on cash management of abc company - Health Organization Evaluation - Sample project kick off presentation - Article review 1 - Law Companies in London: An Overview - Festival pageants in nc - A case structure is the only decision structure that can be used in a menu-driven program. - +971561686603 Abortion pills in Dubai/Abu Dhabi-mifepristone & misoprostol in DUBAI - BUS CONT Week 9 Written Assignment - 12 angry men video questions