⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
EclaireXL
All Projects
EclaireXL
Overview
Activity
Issues
News
Documents
Wiki
Forums
Files
Repository
Download (254 Bytes)
Statistics
| Revision:
repo2
/
atari_chips
/
pokeyv2
/
SID
/
investigation
/
sigmoidrom.m
View
History
Annotate
function res = sigmoidrom(x,pre,post,out)
prer = 2^pre;
x = min(x,(prer/2)-1);
x = max(x,-prer/2);
postr = 2^post;
outr = 2^out;
x = floor(x*(postr))/postr;
sigmoidreal = @(x) 1./(1.+e.^-x);
y = sigmoidreal(x);
y = floor(y*outr)/outr;
res = y;
end
« Previous
1
…
13
14
15
16
17
…
19
Next »
(15-15/19)
Loading...