Computing: Difference between revisions
From phys824
Jump to navigationJump to search
No edit summary |
|||
Line 7: | Line 7: | ||
* [http://www.physics.udel.edu/~bnikolic/teaching/phys660/Matlab/fft_matlab.m MATLAB: FFT] | * [http://www.physics.udel.edu/~bnikolic/teaching/phys660/Matlab/fft_matlab.m MATLAB: FFT] | ||
* [http://www.mathworks.com/academia/student_center/tutorials/launchpad.html MATLAB Student Center] | * [http://www.mathworks.com/academia/student_center/tutorials/launchpad.html MATLAB Student Center] | ||
* [[Media:matlab_pitfals.pdf | Some Common MATLAB Programming Pitfalls and How to Avoid Them]] | |||
=== Reference === | === Reference === |
Revision as of 23:29, 4 October 2009
MATLAB
Hands-on training
- MATLAB: Getting Started
- MATLAB: Sparse Matrices
- MATLAB: FFT
- MATLAB Student Center
- Some Common MATLAB Programming Pitfalls and How to Avoid Them
Reference
Books and notes
- C. Moler: Numerical Computing with MATLAB (SIAM, Philadelphia, 2004). [PDF]
- UD Crash Course on Matlab
Implementation Tools
M-files
- electron_density.m (code for Problem 1 in Homework Set 1)
- disordered_nanowire.m (code for Problems 2 & 3 in Homework Set 2)
- dos_negf.m (code to compute the density of states of a nanowire using Green functions)
M-functions
- matrix_exp.m (Exponential, or any other function with small changed in the code, of a Hermitian matrix)
- visual_graphene_H.m (For a given tight-binding Hamiltonian on the honeycomb lattice, function plots position of carbon atoms and draws blue lines to represent hoppings between them; red circles to represent on-site potential between them; and cyan lines to represent the periodic boundary conditions; it can be used to test if the tight-binding Hamiltonian of graphene is set correctly)
- self_energy.m (Self-energy of the semi-infinite ideal metallic lead modeled on the square tight-binding lattice - the code shows how to convert analytical formulas of the lead surface Green function into a working program)
Mathematica
Hands-on training
- Mathematica: Getting Started
- Mathematica: Differential Equations
- Mathematica: Linear Algebra
- Wolfram hands-on start to Mathematica
Tutorials
- J. J. Kely, Essential Mathematica for students of science
- L. Pryadko, Exploring many-body quantum physics with Mathematica
Books
- H. Ruskeepaa, Mathematica Navigator [publisher Website]