Thread Subject: SystemID: Preparation of nonuniformly-sampled data

Subject: SystemID: Preparation of nonuniformly-sampled data

From: Simo Kauth

Date: 12 Aug, 2008 15:59:50

Message: 1 of 3

Hi,

I have a project going on, where have two log files one containing
input, the other one the output. Both are not uniformly sampled, which
would not yet be too bad, as this is supposed to work with an iddata
object. But my problem is, that the sampling instants of the two data
files are not equal. So I can't properly choose in- and outputs.

Any suggestions?

Thanks,
Simo

Subject: SystemID: Preparation of nonuniformly-sampled data

From: Simo Kauth

Date: 13 Aug, 2008 10:09:18

Message: 2 of 3

Simo Kauth schrieb:
> Hi,
>
> I have a project going on, where have two log files one containing
> input, the other one the output. Both are not uniformly sampled, which
> would not yet be too bad, as this is supposed to work with an iddata
> object. But my problem is, that the sampling instants of the two data
> files are not equal. So I can't properly choose in- and outputs.
>
> Any suggestions?
>
> Thanks,
> Simo

Now it seems, that it won't even work with in- and output in same iddata
  object and with same SamplingInstants. If I try to import the object,
it tells me "The sampling interval could not be evaluated. For
Multiexperiment data use cell array."

This isn't very helpful, as I thought that for nonuniformly sampled data
it would be sufficient to proceed as I red in the help file:

"For nonuniformly-sampled data, specify Ts as [],
and set the value of the SamplingInstants property as a
column vector containing individual time values.
For example:data = iddata(y,u,Ts,[],'SamplingInstants',TimeVector)"

And also I don't have multple experiment data.

Still no suggestions?

Subject: SystemID: Preparation of nonuniformly-sampled data

From: Oskar Vivero

Date: 13 Aug, 2008 14:23:02

Message: 3 of 3

Simo Kauth <kauth@hrz.tu-chemnitz.de> wrote in message
<g7ubsf$af9$1@anderson.hrz.tu-chemnitz.de>...
> Simo Kauth schrieb:
> > Hi,
> >
> > I have a project going on, where have two log files one
containing
> > input, the other one the output. Both are not uniformly
sampled, which
> > would not yet be too bad, as this is supposed to work
with an iddata
> > object. But my problem is, that the sampling instants of
the two data
> > files are not equal. So I can't properly choose in- and
outputs.
> >
> > Any suggestions?
> >
> > Thanks,
> > Simo
>
> Now it seems, that it won't even work with in- and output
in same iddata
> object and with same SamplingInstants. If I try to
import the object,
> it tells me "The sampling interval could not be evaluated.
For
> Multiexperiment data use cell array."
>
> This isn't very helpful, as I thought that for
nonuniformly sampled data
> it would be sufficient to proceed as I red in the help file:
>
> "For nonuniformly-sampled data, specify Ts as [],
> and set the value of the SamplingInstants property as a
> column vector containing individual time values.
> For example:data =
iddata(y,u,Ts,[],'SamplingInstants',TimeVector)"
>
> And also I don't have multple experiment data.
>
> Still no suggestions?

The best thing you can do is get a copy of the SysId toolbox
documentation, it is free and available at the mathworks
site and run through it. The toolbox lets you use
non-uniform sampling intervals, but I haven't played enough
with it to give you any extra pointers, but heck, L.Ljung
wrote most of the documentation so if you go through it you
should be in good hands.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com