02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

26 Chapter 2 DISCRETE-TIME SIGNALS AND SYSTEMS<br />

It is implemented in MATLAB by the arithmetic operator “+”. However,<br />

the lengths of x 1 (n) and x 2 (n) must be the same. If sequences are<br />

of unequal lengths, or if the sample positions are different for equallength<br />

sequences, then we cannot directly use the operator +. Wehave<br />

to first augment x 1 (n) and x 2 (n) sothat they have the same position<br />

vector n (and hence the same length). This requires careful attention<br />

to MATLAB’s indexing operations. In particular, logical operation of<br />

intersection “&”, relational operations like “=min(n1))&(n=min(n2))&(n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!