Great stuff! However, on 'guide - 7' this code segment does not work and gives the following error --
L = chebop(@(x,u) diff(u,2),[0,pi]);
L.bc = 0;
[V,D] = eigs(L);
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in chebop/linearise (line 133)
dom = unique([dom domL domR domO]);
Error in chebop/linop (line 18)
[L bc isLin] = linearise(N,,linCheck);
Error in chebop/eigs (line 44)
L = linop(N);
I would be happy if you can address this issue with a solution. Thanks in advance.
Why in the example 8 they can have more boundary conditions than equations?. I want to do something similar; solve a system of two equations with 4 boundary conditions, but matlab only let me put 2 boundary conditions.