The fuzz-C tools directive FUZZYSET TYPE define
the data type to be used in fuzzy calculations.
FUZZYSET TYPE unsigned short _Fract { 0.0..0.9999 }
This directive will use an 8 bit unsigned fract for those
C compilers that support IEC/ISO 18037 8 bit unsigned
fract data. This directive defines F_ZERO and F_ONE
{ 0.0..0.9999 }
#define F_ZERO 0.0
#define F_ONE 0.9999
All of the calculations computing degree of membership
will be done with fractional math.
Regards,
--
Walter Banks
Byte Craft Limited
Tel. (519) 888-6911
Fax (519) 746 6751
http://www.bytecraft.com
walter@bytecraft.com
"tsepkovsky@googlemail.com" wrote:
On Jan 19, 12:39 am, Walter Banks <wal...@bytecraft.com> wrote:
"tsepkov...@googlemail.com" wrote:
Hello!
Prompt please how it is possible to create fuzzy system Sugeno
(ANFIS) with use fixed point calculations?
Realisation on FPGA is planned further. Probably there is a literature
where about it it is possible to read?
In advance thanks!
Byte Craft's fuzz-c can use fixed point math fracts.
Contact me off line if you have questions. You can find
details and examples
athttp://bytecraft.com/Fuzzy_Logic
Regards,
--
Walter Banks
Byte Craft Limited
Tel. (519) 888-6911
Fax (519) 746 6751
http://www.bytecraft.com
wal...@bytecraft.com
- Hide quoted text -
- Show quoted text -
Unfortunately, in those materials which can be found under your
reference I has not found the answer to a question how to construct
fuzzy system if ALL variables and signals in it to define through
Fixed Point type of data.
In this case for membersip function the area of values of function
should be defined not for a range [0 1] but for a range [0 k] - which
defines "scale coeffitient of systems" in Fixed Point. But i dont know
how can I defuzzyfication calculate...