Skip to main content

Posts

Showing posts from October, 2017

Generation of Signals using MATLAB/Python

Generation of Signals using MATLAB/Python Dr. Hari V S Department of Electronics and Communication College of Engineering Karunagappally What You will Learn You will learn about various energy signals and their generation using MATLAB and python. Signal Generation using MATLAB MATLAB arrays are used to generate finite energy signals. It should be understood that the signals so generated are discrete in time and amplitude. Sinusoidal Signal Consider the sinusoidal signal $x=sin(t)$, which is nothing but a single tone, with the help of the MATLAB code below. t=linspace(0,10,5000); x=sin(t); plot(t,x); grid; The execution of the code will result in the signal, shown below. Amplitude Modulated Signal The above low frequency tone is used to modulate a sinusoidal carrier $y$ of ten times the original frequency. i.e. $y=sin(10t)$. The amplitude modulated signal $am(t)$ is obtained as \begin{equation} am(t)=x*y+y \end{equation}Su