§221 Basic operations Example- Consider the two following sequences of length5 defined for0≤n≤4: {a[叫}={346-90} {b|n}={2-145-3} New sequences generated from the above two sequences by applying the basic operations are as follows
§2.2.1 Basic Operations • Example - Consider the two following sequences of length 5 defined for 0n4 : {a[n]}={3 4 6 –9 0} {b[n]}={2 –1 4 5 –3} • New sequences generated from the above two sequences by applying the basic operations are as follows:
8 2.2.1 Basic operations c[m}={an]bm}={6-424-450} {dn}={an+b|n}={5310-4-3} emB=(3/2){an}={4.569-13.50 As pointed out by the a bove example, operations on two or more sequences can be carried out if all sequences involved are of same length and defined for the same range of the time index n
§2.2.1 Basic operations {c[n]}={a[n].b[n]}={6 –4 24 –45 0} {d[n]}={a[n]+b[n]}={5 3 10 –4 -3} {e[n]}=(3/2){a[n]}={4.5 6 9 –13.5 0} • As pointed out by the above example, operations on two or more sequences can be carried out if all sequences involved are of same length and defined for the same range of the time index n
8 2.2.1 Basic operations However if the sequences are not of same length, in some situations, this problem can be circumvented by appending zero-valued samples to the sequence(s)of smaller lengths to make all sequences have the same range of the time index Example-Consider the sequence of length3 defined for0≤n≤2:{n}={2,1,-3}
§2.2.1 Basic operations • However if the sequences are not of same length, in some situations, this problem can be circumvented by appending zero-valued samples to the sequence(s) of smaller lengths to make all sequences have the same range of the time index • Example - Consider the sequence of length 3 defined for 0n 2: {f[n]}={-2, 1, -3}
§221 Basic operations We cannot add the length-3 sequence to the length-5 sequence an defined earlier We therefore first append ifnb with 2 zero-valued samples resulting in a length-5 sequence feln1=(2 1-300] Then {gn}={a[叫}+{fn}={153-90
§2.2.1 Basic Operations • We cannot add the length-3 sequence to the length-5 sequence {a[n]} defined earlier • We therefore first append {f[n[} with 2 zero-valued samples resulting in a length-5 sequence {fe [n[}={-2 1 –3 0 0} • Then {g[n]}={a[n]}+{f[n]}={1 5 3 –9 0}
§221 Basic operations · Example n xInI x[n-2] [n-3 z a 0 2 yin y[m=a1x[m+a2x[n-11+3n-2|+c4x[n-3
§2.2.1 Basic Operations • Example - y[n]=1x[n]+ 2x[n-1]+ 3 [n-2]+ 4x[n-3]