% M-file names must start with an alphabetic character,
%   may contain any alphanumeric characters or underscores

clear;  % Clear variables and functions from memory.
clc;    % Clear command window.


% 1.4 (b)
t = [-1 0 1 1 2 2 4];
x = [0 0 -1 1 1 0 0];
plot(t, x, 'LineWidth', 1.5);
axis([-1 3 -2 2]);
xlabel('Time (sec)');
ylabel('x(t)');
title('1.4 (b)');
