Beruflich Dokumente
Kultur Dokumente
Aim: Design Scilab/Matlab code for standard test signals like Unit Impulse, Unit Step and Unit
Ramp Signals and analyze it.
Apparatus: Matlab
a. Unit Impulse:
Matlab Code:
>> n=-2:0.5:2;
>> x=zeros(1,9);
>> x(1,5)=1;
>> stem(n,x);
>> title('Impulse Signal');
>> ylabel('Amplitude');
>> xlabel('Time');
Output:
Output:
Output:
Conclusion: We got intimated with various signals and learn how to perform them in
MATLAB.