Code Examples: Difference between revisions

From phys660
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
*[[Media:rfib.m|rfib.m]]  
*[[Media:rfib.m|rfib.m]]  
*[[Media:gquad_solver.m|gquad_solver.m]] (good programming to solve quadratic equation)
*[[Media:gquad_solver.m|gquad_solver.m]] (good programming to solve quadratic equation)
*[[Media:bquad_solver.m|bquad_solver.m]] (bad programming to solve quadratic equation)  
*[[Media:bquad_solver.m|bquad_solver.m]] (bad programming to solve quadratic equation)
*'''TEST:''' Apply both qguad_solver.m and bquad_solver.m to find the roots of <math> x^2 -(10^7 + 10^{-7})x + 1 </math>.


===Project 1===
===Project 1===
Line 12: Line 11:
===Project 2===
===Project 2===
*[[Media:chaos_balls.m|chaos_balls.m]]
*[[Media:chaos_balls.m|chaos_balls.m]]
*[http://www.mathworks.com/help/matlab/matlab_prog/techniques-for-improving-performance.html Preallocating arrays in MATLAB]


===Project 3===
===Project 3===

Latest revision as of 12:56, 15 March 2014

MATLAB

MATLAB tutorial

Project 1

Project 2

Project 3

Project 4

Project 5

Fortran 90

Python