findzero.m
来自「求解量子力学的薛定谔方程」· M 代码 · 共 11 行
M
11 行
function f=findzero(x,y);%> The file <findzero.m> finds 'all' zeros in a given interval.%> This is done in a rough and ready way by spline interpolation.%> Call: w=findzero(x,y); finds zeros of y as a function of x. %> Input: x, y = row vectors of same dimension, x representing%> equispaced arguments of the independent variable%> Output: w = row vector of zeros.%> Source of errors: zeros too close cannot be resolved, and are likely%> to escape detection altogether!%>%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?