<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252313</link>
    <title>MATLAB Central Newsreader - problem using resid</title>
    <description>Feed for thread: problem using resid</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>Wed, 27 May 2009 14:36:03 -0400</pubDate>
      <title>problem using resid</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252313#652782</link>
      <author>pietro </author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
i have to validate a estimated arx model. I try to use resid command but it gives me the following error:&lt;br&gt;
&lt;br&gt;
the resid returns me the following error:&lt;br&gt;
&lt;br&gt;
??? Error using ==&amp;gt; utresid at 199&lt;br&gt;
Resid cannot be applied to Continuous Time data.&lt;br&gt;
&lt;br&gt;
Error in ==&amp;gt; idmodel.resid at 54&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;utresid(v{:});&lt;br&gt;
&lt;br&gt;
I use resid command in this way:&lt;br&gt;
&lt;br&gt;
hpidfrd=idfrd(hp,2*pi*fp,0);&lt;br&gt;
modarx=arx(hpidfrd,[num+1 den])&lt;br&gt;
resid(hpidfrdiddata,modarx) &lt;br&gt;
&lt;br&gt;
fp: frequency value &lt;br&gt;
hp: complex transfer function value &lt;br&gt;
num e den: arx model orders&lt;br&gt;
&lt;br&gt;
How can i perform a residual analysis with Continuous Time data?</description>
    </item>
  </channel>
</rss>

