Problem 9.2-5: We have
Using our pseudo-control input and regrouping:
This is an underdetermined problem, where we have single input and effectively
two equations that need to be satisfied. One possibility would be optimize our
input to achieve the smallest possible square error of the two equations. For the
specific case where we chose to completely prioritize a match of 𝑣𝑞̇= 𝑄̇, the case
for pitch attitude control tasks, then the solution would be:
Problem 9.3-1: MATLAB script that implements this is presented here:
% generate traning set
x_train = sort(rand(100,1)*pi – pi/2);
f_train = sin(x_train);
% parameter choices
% precompute activation potentials
% preallocate arrays