sde.m

来自「求解量子力学的薛定谔方程」· M 代码 · 共 11 行

M
11
字号
function DY=sde(X,Y);%> The file <sde.m> defines a Schrodinger type 1D time-independent DE%> with a potential V defined by a string <potential> %> which is a global variable with space variable X. %> For instance: <potential = '15*pot1(X)'>  points to the %> function file <pot1.m>.  The value of the energy is given%> by the global variable <energy>, e.g. : <energy = 12>. %> The normalization is hbar = mass = 1.%> Call: [X,Y]=ode45('sde',[0,1],[y;Dy]);%>%> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?