登录
首页 » Matlab » 神经网络传递函数sigmoid函数及其导数的fpga实现

神经网络传递函数sigmoid函数及其导数的fpga实现

于 2022-07-19 发布 文件大小:2.03 kB
0 74
下载积分: 2 下载次数: 1

代码说明:

用查找表的方式实现了sigmoid函数的verilog实现,sigmoid函数的特点是关于(0,0.5)奇对称,只用matlab求出自变量大于0的函数值,小于0的函数值可以由1-f(x)得到。导函数关于y轴偶对称,由f(x)乘以f(-x)即可得到。使用matlab生成mif文件,再调用quartus2中的rom核,把mif文件添加进去,仿真即可.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Project-08-01
    Root-mean-square error and mean-square signal-to-noise ratio F(x,y) the original image , F’(x,y) the decompressed image , the original image change to JPG and then JPG change to Im. Observe to Error- ratio.
    2015-02-01 16:59:21下载
    积分:1
  • single_carrier_networks
    单频网的链路级Matlab仿真程序,直接运行可得到误符号率。(Link level simulator for single carrier networks,The simulator outputs symbol error rate.)
    2010-09-14 18:46:54下载
    积分:1
  • MATLABWord
    MATLAB实现的OKumura-HATA仿真(MATLAB realization of simulation OKumura-HATA)
    2009-04-19 22:20:47下载
    积分:1
  • GPC
    广义预测控制源程序(单输入单输出),包含两种情况,对象模型已知和对象模型未知(Generalized Predictive Control source (single-input single-output), including both cases, object model and object model known to the unknown)
    2009-05-17 10:46:15下载
    积分:1
  • fractal-use
    分形的练习一 ①Koch曲线 用复数的方法来迭代Koch曲线 clear i 防止i被重新赋值 A=[0 1] 初始A是连接(0,0)与(1,0)的线段 t=exp(i*pi/3) n=2 n是迭代次数 for j=0:n A=A/3 a=ones(1,2*4^j) A=[A (t*A+a/3) (A/t+(1/2+sqrt(3)/6*i)*a) A+2/3*a] end plot(real(A),imag(A)) axis([0 1 -0.1 0.8]) ②Sierpinski三角形 A=[0 1 0.5 0 0 1] 初始化A n=3 迭代次数 for i=1:n A=A/2 b=zeros(1,3^i) c=ones(1,3^i)/2 A=[A A+[c b] A+[c/2 c]] end for i=1:3^n patch(A(1,3*i-2:3*i),A(2,3*i-2:3*i), b ) patch填充函数 end (Fractal Exercise One The ① Koch curve Plural iteration Koch curve clear i to prevent i is reassigned A = [0 1] initial A is a connection (0,0) and (1,0) of the segments t = exp (i* pi/3) n = 2 n is the number of iterations for j = 0: n A = A/3 a = ones (1,2* 4 ^ j) A = [A (t* A+ a/3) (A/t+ (1/2+ sqrt (3)/6* i)* a) A+2/3* a] end plot (real (A), imag (A)) axis ([0 1-0.1 0.8])   ② Sierpinski triangle A = [0 1 0.5 0 0 1] initialized A n = 3 the number of iterations. for i = 1: n A = A/2 b = zeros (1,3 ^ i) c = ones (1,3 ^ i)/2 A = [A A+ [c b] A+ [c/2 c]] end for i = 1:3 ^ n patch (A (1,3* i-2: 3* i), A (2,3* i-2: 3* i), b ) patch filled function end)
    2013-03-02 10:03:09下载
    积分:1
  • decision_tree_cart
    说明:  决策树cart,用matlab编写的,数据挖掘算法。(Decision tree cart, prepared using matlab, data mining algorithms.)
    2008-11-16 20:51:33下载
    积分:1
  • 53-68
    ultrasound imaging. this document has the details of ultrasound imaging system with matlab directions of simulation
    2012-08-04 04:45:09下载
    积分:1
  • QPSK
    matlab实现的qpsk调制过程,很详细,包括调制解调、自动频率控制和误码率分析等过程(matlab implementation qpsk modulation process, very detailed, including the modulation and demodulation, automatic frequency control, and error rate analysis process )
    2011-12-06 15:09:52下载
    积分:1
  • DFIG_2MW
    2兆瓦异步双馈风力发电系统的建模与仿真,包含个子模块。pitch信号自己添加。。(2 MW doubly fed induction wind power system modeling and simulation, including the sub-modules. pitch signal to add their own. .)
    2014-06-09 12:34:54下载
    积分:1
  • matlab-pid2
    a PID controller in matlab
    2010-06-09 17:50:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载