Difference between revisions of "Software tutorial"
Jump to navigation
Jump to search
m |
m |
||
Line 37: | Line 37: | ||
* Use the money you saved from not buying MATLAB to buy [http://www.amazon.ca/Learning-Python-Powerful-Object-Oriented-Programming/dp/0596158068 this book on Learning Python], or read [http://books.google.com/books?id=1HxWGezDZcgC&printsec=frontcover&dq=%22Learning+Python%22&source=bl&ots=LiMh3Ka7uW&sig=_z8u8gSW7z3hiE7vKrnX8pA3tNo&hl=en&ei=azWWTODQF8qdnAeyjLXDCA&sa=X&oi=book_result&ct=result&resnum=6&ved=0CDoQ6AEwBQ#v=onepage&q&f=false the Google Books version]. | * Use the money you saved from not buying MATLAB to buy [http://www.amazon.ca/Learning-Python-Powerful-Object-Oriented-Programming/dp/0596158068 this book on Learning Python], or read [http://books.google.com/books?id=1HxWGezDZcgC&printsec=frontcover&dq=%22Learning+Python%22&source=bl&ots=LiMh3Ka7uW&sig=_z8u8gSW7z3hiE7vKrnX8pA3tNo&hl=en&ei=azWWTODQF8qdnAeyjLXDCA&sa=X&oi=book_result&ct=result&resnum=6&ved=0CDoQ6AEwBQ#v=onepage&q&f=false the Google Books version]. | ||
* This [http://diveintopython.org/ excellent book - Dive into Python] is available in print, and on the web. | * This [http://diveintopython.org/ excellent book - Dive into Python] is available in print, and on the web. | ||
* Are you comfortable with MATLAB? | * Are you comfortable with MATLAB? This [http://mathesaurus.sourceforge.net/matlab-numpy.html page shows how to translate] between MATLAB and Python. | ||
* A good [http://www.springerlink.com/content/978-3-540-73915-9 book for computational and engineering work] - free access from McMaster computers. | * A good [http://www.springerlink.com/content/978-3-540-73915-9 book for computational and engineering work] - free access from McMaster computers. | ||
* We need a link to [http://docs.python.org/tutorial/ the official Python tutorial] - but it is more general. | * We need a link to [http://docs.python.org/tutorial/ the official Python tutorial] - but it is more general. | ||
* And finally, maybe [http://xkcd.com/353/ this cartoon will convince you]? | * And finally, maybe [http://xkcd.com/353/ this cartoon will convince you]? | ||
|} | |} |
Revision as of 10:25, 15 September 2018
This tutorial will expand as we progress in the course. Each section has notes for both MATLAB and Python.
- About the course software
- Software installation
- Getting started
- My first program (required for tutorial 1)
- for loops and while loops (required for tutorial 1)
- Scripts and functions (useful for tutorial 2)
- Vectors and arrays (used for tutorial 3)
- Matrix operations (used for tutorial 4)
- Functions as objects (used for tutorial 5 to find the zero of a function)
- Creating and saving plots : important for all remaining assignments, and the take-home exam.
- Integrating ODEs: a tutorial on integrating ODEs in MATLAB and Python
- Least squares modelling: a tutorial on (linear regression) in MATLAB and Python
- Loading data in MATLAB or Python from Excel, CSV and XML files
- Want tutorials on other topics: please email me
Need some more help?
Not every aspect about MATLAB or Python can be covered with our tutorial (above). Here are some additional resources.
MATLAB | Python |
---|---|
|
|