要画一个关于方程f(x)=x! 的图像。但是为什么画不出啊
>> f=@(n)factorial(n);
>> fplot(f,[1,50]);
??? Error using ==> factorial at 17
N must be a matrix of non-negative integers.
Error in ==> @(n)factorial(n)
Error in ==> fplot at 105
x = xmin+minstep; y(2,:) = feval(fun,x,args{4:end});