MATLAB Program For Basic Arithmetic Operations On Signals
A signal is a physical quantity that varies with time, space or any other independent variable by which information can be conveyed. A discrete-time signal is often identified as a sequence of numbers, denoted by x[n], where n is an integer. Signals are broadly classified into continuous and discrete signals. A continuous signal will be denoted by x(t), in which the variable t can represent any physical quantity. A discrete signal will be denoted by x[n], in which the variable n is integer value. The variables t and n are assumed to represent time. Operations on Signals: a. Signal addition It is implemented in MATLAB by the arithmetic operator “+”. However, the lengths of x1(n) and x2(n) must be the same. y(n) = x1(n) + x2(n) b. Signal multiplication It is implemented in MATLAB by the array operator “*”. To multiply sequences of different lengths we can use the following function y(n) = x1(n) * x2(n) Program: clc; close all ; clear all...

Comments
Post a Comment