我想在scilab上使用这段代码来绘制sigmoid函数,但是我得到的结果并不是来自等式。我的代码有什么问题?(scilab)x = [-6,6] y = 1 /(1 +%e^-x)为什么它不起作用?
x = -6:1:6; Y = 1 /(1 +%E^-x)
Y =
0.0021340
0.0007884
0.0002934
0.0001113
0.0000443
0.0000196
0.0000106
0.0000072
0.0000060
0.0000055
0.0000054
0.0000053
0.0000053
http://en.wikipedia.org/wiki/Sigmoid_function
非常感谢您