Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
problem using resid

Subject: problem using resid

From: pietro

Date: 27 May, 2009 14:36:03

Message: 1 of 1

Hi,

i have to validate a estimated arx model. I try to use resid command but it gives me the following error:

the resid returns me the following error:

??? Error using ==> utresid at 199
Resid cannot be applied to Continuous Time data.

Error in ==> idmodel.resid at 54
    utresid(v{:});

I use resid command in this way:

hpidfrd=idfrd(hp,2*pi*fp,0);
modarx=arx(hpidfrd,[num+1 den])
resid(hpidfrdiddata,modarx)

fp: frequency value
hp: complex transfer function value
num e den: arx model orders

How can i perform a residual analysis with Continuous Time data?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us