Python and the first compulsory exercise

You can choose if you want to use MATLAB or Python in the first compulsory exercises, but note the the code segment in the text is only given in MATLAB. I have translated that text to Python here. As you see there are some difference between simps and numpy, in particular when it comes to solving linear systems, and also the Hilbert matrix.

?yvind

Publisert 11. sep. 2018 12:36 - Sist endret 20. des. 2024 10:21