function tglob2b
% function glob2b
% a function used to illustrate global variables
global a1 v1 v3
disp('Here are some variables that you have defined.')
a1
v1
v2=input('Now give a vector that you have defined.')
