?? pmntanh.m
字號:
%#
%# function t = pmntanh(x)
%#
%# AIM: Fast hyperbolic tangent function to be used in
%# neural networks instead of the tanh provided by MATLAB.
%#
%# INPUT: x (n x m) : matrix of data to be transformed
%#
%# OUTPUT: t (n x m) : matrix of data after projection on the
%# hyperbolic tangent nonlinear transfer function
%#
%# AUTHOR: Magnus Norgaard, IAU/EI/IMM (1994)
%# Neural Network-Based System Identification Toolbox
%# Web site : http://www.iau.dk/Projects/proj/nnsysid.html
%#
%# VERSION: 1.1 (28/02/1998)
%#
%# TEST: Frederic Despagne
%#
function t = pmntanh(x)
t = 1-2./(exp(2*x)+1);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -