Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are we able to solve this simple sturm liouville problem taken from chebfun examples? #930

Open
falematte opened this issue Feb 29, 2024 · 3 comments

Comments

@falematte
Copy link

Here is the simple example in the documentation. How would you achieve the same with Approxfun?

L = chebop(@(u) -diff(u, 2), dom);
L.bc = 'periodic';
k = 5; % number of eigenvalues we want
[V, D] = eigs(L, k);
figure, plot(V, LW, 2)
@falematte
Copy link
Author

falematte commented Feb 29, 2024

Maybe @dlfivefifty or @mzaffalon can help. Probably its a trivial question but I am still learning the basics...

@jishnub
Copy link
Member

jishnub commented Mar 6, 2024

Have you looked at the examples: https://juliaapproximation.github.io/ApproxFun.jl/stable/generated/Eigenvalue/? I think these should help

@falematte
Copy link
Author

Thanks for the answer @jishnub , I am not able to generalize that example to periodic boundary conditions. Probably is trivial but I am having problems doing that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants