数値微分 https://jp.mathworks.com/matlabcentral/fileexchange/13490-adaptive-robust-numerical-differentiation