8-1 MATLAB ������������������

b MATLAB AFhH~A@ƾǨƨõLkΤ@²檺VqܡAӬOΤ@ MATLAB ơ]Functions^ӪܡC惡ƶiBzPRA MATLAB OHrάO禡]Function Handles^覡JơC MATLAB OiƾǨƶiUعBPRAҦpG

]IAb󻡩eTعB⪺OCܩDѷL{ANbѪu`L{v]Ordinary Differential Equations^`ԲӻC

MATLAB ƾǨƳOH M ɮס]ɦW m^ӪܡA|ҦӨAHUƾǦlAYigɮצW٬ humps.m MATLAB ƾǨơG

$$ f(x)=\frac{1}{(x-0.3)^2+0.01} + \frac{1}{(x-0.9)^2+0.04}-6 $$

WzumpvƤwة MATLABAW٬ humps.mCHUNH humps ƬҡAӤЦpϥάOӹ惡ƶi@ϡBDڡBDȵBC

Hint
  • humps OJơApeaks OJơA̳O MATLAB `QΨ쪺ըơC
  • bѡAu禡vMuơvONufunctionsvAڭ̳q`ΡuơvӪumathematic functionvAӥΡu禡vӥNusubroutines or functions in a programming languagevA̦ɭԷ|VΡC


MATLAB{]pGig