Generation of Normal Sinusoidal, Discrete Sinusoidal, Under Damped and Over Damped Signals using MATLAB
MATLAB Codes Basics of Matlab Generation of Normal Sinusoidal, Discrete Sinusoidal, Under Damped and Over Damped Signals using MATLAB Generation of Normal Sinusoidal Signal Matlab Code: f=1; w=2*pi*f; t=0:0.01:10; y=sin(w*t); plot(t,y); xlabel( 'time in sec' ); ylabel( 'amplitude in cm' ); title( 'Normal Sinusoidal Signal' ); grid on ; Generation of Discrete Sinusoidal Signal Matlab Code f=1; w=2*pi*f; t=0:0.01:10; y=sin(w*t); stem(t,y); xlabel( 'time in sec' ); ylabel( 'amplitude in cm' ); tile( 'Discrete Sinusoidal Signal' ); grid on ; Generation of Under Damped Signal Mat lab Code a=0.5; t=0:0.01:10; y=exp(-a*t); plot(t,y); xlabel( 'time in sec' ); ylabel( 'amplitude in cm' ); title( 'Under Damped Signal' ); grid on ; Generation of Over Damped Signal Mat lab Code: a=0.5; t=0:0.01:10; y=exp(a*t); plot(t,y); xlabel( 'time in sec' ); ...