www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/PassHandleFromAnonymousFunctionToFplotExample.m

    %% Function Handle Created From Anonymous Function
% Create a function handle from an anonymous function. Plot the function
% from 0.01 to 0.1.

% Copyright 2015 The MathWorks, Inc.


sn = @(x) sin(1./x);
fplot(sn,[0.01,0.1])