summaryrefslogtreecommitdiff
path: root/758/CH1/EX1.2.b/Ex_1_2_b.sce
blob: bd21c4ffba2e610a475957739dbafb9489ad60ba (plain)
1
2
3
4
5
6
//Example 1.2 (b)
clc;clear;
t=-5:0.01:5;
x=2*(abs(t-1/4)<0.5);
plot(t,x);
title('x(t)=2*rect(t-1/4)');