Author 
Comment/Response 
Owen Graham

02/11/13 4:46pm
Hi.
I want to find the expansion coefficients for a function, f[y] by setting the expansion, ex[y] equal to the function at some number 'N' points (which i'm calling a,b,c... for clarity).
Where
ex[y]= Sum[SetOfCoeffs[n] BasisFunction[n], {n,1,N}]
So the idea of what I want to do is
Solve[{ex[a]==f[a],ex[b]==f[b],...},SetOfCoeffs]
My first attempt is to index a set of N points x[i] (i=1,2,...N) then use a table:
Solve[Table[ex[x[i]],{i,1,N}],SetOfCoeffs]
But this method doesn't seem to work even for much simpler lists of equations.
The other problem I face is somehow telling Mathematica to solve for EVERY expansion coefficient.
Any directions would be useful, cheers
URL: , 
