trf2.m
来自「求解量子力学的薛定谔方程」· M 代码 · 共 12 行
M
12 行
function f = trf2(X,V,E);%> This file calculates the transfer matrix for 1D Schroedinger DE%> for an interval with a linear potential %> Call: trf2(x,V,E) %> Input: X=[x1, x2] is the interval as a row 2-vector, x1 < x2%> V = potential values at endpoints =[V(x1), V(x2)];%> E = energy lattice, row vector%> Output: a column 4-vector [u;Du;v;Dv] of values at x2%> where (u,v) are the fundamental solutions defined by%> u(x1) = Dv(x1) = 1, Du(x1) = v(x1) = 0.%>%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?