reorganize file structure
This commit is contained in:
10
strut/Func1.m
Executable file
10
strut/Func1.m
Executable file
@@ -0,0 +1,10 @@
|
||||
function F = Func1(theta,P,yrqd);
|
||||
|
||||
% Derivative of function 1
|
||||
|
||||
F=ppval(P,theta)*sin(theta)-yrqd;
|
||||
if theta < 0
|
||||
F=-theta^2+pi*theta-yrqd;
|
||||
elseif theta > pi
|
||||
F=-theta^2+pi*theta-yrqd;
|
||||
end;
|
||||
Reference in New Issue
Block a user