Here is my revised script:
But I still have errors which I am not sure what they are?
function plot2fnhand( fh1, fh2 )
x = rand(100);
subplot(2,1,1);
y = fh1(x);
plot(x,y);
title(func2str(fh1));
subplot(2,1,2);
y = fh1(x);
plot(x,y);
title(func2str(fh1));
subplot(2,1,1);
y = fh2(x);
plot(x,y);
title(func2str(fh2));
subplot(2,1,2);
y = fh2(x);
plot(x,y);
title(func2str(fh2));
end