wavedef.m
来自「新的神经网络算法源程序」· M 代码 · 共 27 行
M
27 行
function a = wavedef(z, n, order)%Wavelon: Defines the Form of Iso Tropic Wavelet Activation Transfer Function.% and its derivative%% a = wavedef(z, n, order)% z = (x-t)'d'd(x-t), where x, t and d are input, translation and% dilation of the wavelon respectively% n = dim(x)% order: order of derivative, = 0 or 1% See also Wavelon%% For this file wavedef(z, n, 0) = (z-n)e^(-0.5z).% By Qinghua Zhang. April 10, 1992.if nargin ~= 3 error('Wrong number of arguments.');endif order == 0 a = (z - n) .* exp(-0.5 * z);elseif order == 1 a = 0.5 * (2.0 - z + n) .* exp(-0.5 * z);else error('order must be 0 or 1.');end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?