%% Clear Set of Variables
% Create a cell array, vars, that contains the names of variables to clear. Then, clear those variables.

vars = {'v1','v2','time'};
clear(vars{:})

% Copyright 2012 The MathWorks, Inc.