P1. Consider the following length-7 sequences defined for −3 < n < 3:
x[n] = {3, − 2, 0, 1, 4, 5, 2}
w[n] = {−5, 4, 3, 6, − 5, 0, 1}
– First fold x[n] and then delay the resulting signal by four samples.
– First delay x[n] by four samples and then fold the resulting signal.
– Sketch the signal x[−n + 4] and compare with the previous results.
– Sketch the signal x[−2n − 4].
P3. Implement functions in MATLAB to compute the addition and multiplication of two sequences. Consider the
general cases when the function have different lengths and/or the sample positions are not equal.
[
x1 n] = {1 − j, 0, − 2 − 5j, 4 + 3j, 5 − 6j , 5 − j, − 7 − 2j, 7}
↑
[
x2 n] = {4 − 7j, 2, 8 − 2j, 2j , 1 − j, 0, − 5 − 2j, 9 + j, 4 + 4j, 5 − j, − 8 − 4j, 1 + 7j}
↑
Use the functions implemented in MATLAB to compute x1 [n] + x2 [n] and x1 [n] ∗ x2 [n].
P5. Implement functions in MATLAB to extract the symmetric conjugate and the antisymmetric conjugate of
a sequence. Consider the general cases when the function have different lengths and/or the sample positions are
not equal. Use the implemented functions to express x1 [n] and x2 [n] in terms of the symmetric conjugate and the
antisymmetric conjugate.