function tglob2a
% function glob2a
% a function used to illustrate global variables
global a1 v1
v2=[];
disp('Here are some variables that you have defined.')
a1
v1
v2=input('Now give a vector that you have defined.')
