<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to realize exp() function or sigmoid() function in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1287805#M17890</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I want to implement the sigmoid function，but, It appears that the function does not exist in the library，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I use the&amp;nbsp;Automotive Math and Motor&amp;nbsp;Control Library Set for NXP&amp;nbsp;MC9S12ZVM devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Does the exp()function exist in the library? or，How should I implement it with other tools&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This algorithm, I hope to have as fast calculation speed as possible。&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Jun 2021 08:49:02 GMT</pubDate>
    <dc:creator>maxxu</dc:creator>
    <dc:date>2021-06-05T08:49:02Z</dc:date>
    <item>
      <title>How to realize exp() function or sigmoid() function</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1287805#M17890</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I want to implement the sigmoid function，but, It appears that the function does not exist in the library，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I use the&amp;nbsp;Automotive Math and Motor&amp;nbsp;Control Library Set for NXP&amp;nbsp;MC9S12ZVM devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Does the exp()function exist in the library? or，How should I implement it with other tools&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This algorithm, I hope to have as fast calculation speed as possible。&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2021 08:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1287805#M17890</guid>
      <dc:creator>maxxu</dc:creator>
      <dc:date>2021-06-05T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to realize exp() function or sigmoid() function</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1291110#M17898</link>
      <description>&lt;P&gt;Can someone help me？&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 06:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1291110#M17898</guid>
      <dc:creator>maxxu</dc:creator>
      <dc:date>2021-06-11T06:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to realize exp() function or sigmoid() function</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1293088#M17905</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;if you don't care about CPU load, then I would follow standard programming patterns for math implementation. Otherwise, I'd recommend to calculate a lookup table offline (e.g. using MS Excel) and then use it in the MCU. Polynomial approximation is also an option. The two techniques mentioned can be realized with support of the AMMCLib (GFLIB_Lut1D and MLIB functions such as Mul, Add, etc.).&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Matej&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 08:13:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-realize-exp-function-or-sigmoid-function/m-p/1293088#M17905</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2021-06-16T08:13:54Z</dc:date>
    </item>
  </channel>
</rss>

