<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254782</link>
    <title>MATLAB Central Newsreader - Re: Mapminmax in SIMULINK</title>
    <description>Feed for thread: Re: Mapminmax in SIMULINK</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 26 Jun 2009 19:13:18 -0400</pubDate>
      <title>Re: Mapminmax in SIMULINK</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254782#660802</link>
      <author>Greg</author>
      <description>On Jun 26, 7:27&#160;am, dedy &amp;lt;masded...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; I have a system with PI controller. I want to replace this controller&lt;br&gt;
&amp;gt; with neural network (NN). So, the input of PI controller i use as&lt;br&gt;
&amp;gt; input of NN. The output of PI controller i use as target of NN.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am using the premnmx function to preprocess the training data before&lt;br&gt;
&amp;gt; the neural network can be trained:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; [pn,minp,maxp,tn,mint,maxt]=premnmx(P,T)&lt;br&gt;
&amp;gt; net=train (net,pn,tn);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; then to transform the neural network, i use&lt;br&gt;
&amp;gt; gensim (net,Ts)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I use the result of gensim to replace the old controller in simulink.&lt;br&gt;
&amp;gt; But why the output of NN controller doesn't sama as target (when it&lt;br&gt;
&amp;gt; trained). The result of NN controller worse than PI controller..&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; is it need processing block (like mapminmax) before processed by NN&lt;br&gt;
&amp;gt; controller in simulink ?&lt;br&gt;
&amp;gt; if its need block, how to use it with NN in simulink ?&lt;br&gt;
&amp;gt; please help me.&lt;br&gt;
&lt;br&gt;
How did you train, validate and test the net before&lt;br&gt;
incorporating into simulink?&lt;br&gt;
&lt;br&gt;
Size of training, validation and test sets?&lt;br&gt;
Number of hidden nodes?&lt;br&gt;
&lt;br&gt;
Size of training, validation and test set errors?&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
  </channel>
</rss>

