create a function handle called f with paramter x, which is theta
0001 % create a function handle called f with paramter x, which is theta 0002 f = @(x) f2DStewart(x, gamma, L2, L3, p1, p2, p3, x1, x2, y2); 0003 0004 y = -pi:0.1:pi; 0005 x = zeros(length(y)); 0006 0007 for i = 1:length(y) 0008 x(i) = f(y(i)); 0009 end 0010 0011 plot(y,x);