O'Reilly logo

MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] by Manoj Kumar Sharma, Ashok Kumar Goel, Raj Kumar Bansal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15.3. Operations on Discrete-Time Signals

The various operations that can be performed on discrete-time signals are given as

15.3.1. Addition

For discrete-time signals, the addition is done by adding sample by sample. In general form, it is given as

z(n) = x1(n) + x2(n)

where

x1(n) and x2(n) are two signals to be added and

z(n) is the resultant output signal.

In MATLAB, for addition of discrete-time signals, it is necessary that the sequences should be of equal lengths.

If signals are of unequal lengths or if the sample positions are different for equal length sequences, then simple addition using ‘+’ operator is not possible. Hence, signals x1(n) and x2(n) need to be modified so that they have same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required