I am doing another coursera assignemnt, this time with aerial robotics. I have to program a pd controller using the matlab ode45
(ordinary diff. equation). And the file that has to contain this code gets called as follows:
pd_controller(~, s, s_des, params)
I searched around but couldn't find anthing that explain this to me and how it works.
In the main program the function is called with a time variable which I would need for my ODE:
controlhandle(t, s, s_des, params)
Where this controlhandle is the functionhandler for pd_controller.
So, what does this mean? And can I access whatever is behind ~
?
Besides:
I found one example, but the other around. A function, let's call it function = f(a,b)
was called with f(~, b)
where a
and b
has been declared inside the function.