Home > matlab > part2.m

part2

PURPOSE ^

create a function handle called f with paramter x, which is theta

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 create a function handle called f with paramter x, which is theta

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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);

Generated on Sun 02-Feb-2014 02:18:06 by m2html © 2005