%% Clear a Single Variable
% Define two variables a and b, and then clear a.

a = 1;
b = 2;
clear a

%
% Only variable b remains in the workspace.

whos

% Copyright 2012 The MathWorks, Inc.