📄 tansigfx.m
字号:
function [sig] = tansigfx(t);% USAGE: y = tansigfx(x)% tansigfx gives back the Boltzmann/logistic/Fermi function:% y = 2*(((1+exp(-x)).^-1)-0.5);% t is the face matrix of the system% t can be a scalar or a matrix with% the same dimension as x [ni,nj]=size(t);un=ones(ni,nj);sig=2*(((un+exp(-t)).^-1)-0.5);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -