Can anyone help to review a matlab codes for orthogonal collocation on finite element as the solution i'm getting does not seem to be unique and not the required
The orthogonal collocation on finite elements denoted OCFE consists to divide the whole domain into small subdomains of finite length, called elements. Then the orthogonal collocation is applied within each element. In this process, the trial function and its first derivative must be continuous at the nodal points or the boundaries of the elements. OCFE may be considered as an extension to the double collocation method proposed by Villadsen and Sorensen.