% Example of using anonymous functions to plot functions
% that normally accept two arguments
% Minas Spetsakis, March 2018

N=2;
powfun = @(x) N.^x;
N=40;
fplot(powfun,[-3,3])
