Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Spectral Methods

These examples are based on the book

L. N. Trefethen, Spectral Methods in MATLAB, SIAM.

I have rewritten these codes in Python and added more examples.

I have some slides which I use for teaching along with this code, get them here.

You can get the codes and run them on your own computer

git clone https://github.com/cpraveen/chebpy
cd chebpy
jupyter-lab

For nbviewer links to these files, see here

https://cpraveen.github.io/teaching/chebpy.html

Run the code in binder: Binder

Run the code in colab: Colab

Matlab versions of the code are available here

https://github.com/cpraveen/spectral_matlab

Table of contents