Signal Generation in MATLAB
Here I’m going to show you how signals can be generated in MATLAB. If you are a newbie in this field, have a look at our MATLAB tutorials to get familiar with it. Plotting of Discrete and Continuous signal The 2 main functions for plotting are plot() function - For plotting Continuous signal stem() function - For plotting Discrete signal stem() - 2-D plot function for plotting discrete sequence of data SYNTAX : stem(y) - Plots the data sequence y specified equally spaced along x axis stem(x,y) - Plots x...