Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

{ Optional } Let [ ] = 1 1 1 1 0 . 5 0 . 5 . Sketch: [ ] [ 2 ] .

{Optional} Let []=11110.50.5
. Sketch: [][2].
b. Let []=11110.50.5
. Sketch: [1][3]
c. In this problem, you will show that any sequence can be formed as the sum of an even (symmetric)
and an odd (anti-symmetric) component.
Let []=
[]+[]
2
and []=
[][]
2.
i) Show/derive that x[n]= xe[n]+ xo[n].
ii) Show/derive that xe[n] is even (symmetric).
iii) Show/derive that xo[n] is odd (anti-symmetric).
iv) Find xe[n] and xo[n] if []=23456
.(With this notation, the n=0 index is
denoted by the arrow. All out-of-range sequence values equal zero.)
d. Write a general purpose MATLAB function that is provided a sequence "x" as its input, and returns
an odd "x_o" and an even "x_e" sequence as its output. The sum of the odd and even sequences must
equal the input sequence. Note that MATLAB does not have a standard scheme for indexing
3 of 3
sequences that include both negative-valued and positive-valued indexes. You will want to permit
such sequences. Thus, you must devise such a scheme with this function. Be sure to describe your
scheme in the header comments of your function (for both the inputs and the outputs to your
function.) Your function must work properly for all general sequences. Test this function on the
sequence from the previous problem. Supply a hard-copy of the m-file and a printout of the result
from the sequence in the previous problem. (Your MATLAB result should match the result that you
computed by hand in the previous problem!)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

What do you think about hiring illegal immigrants?

Answered: 1 week ago