size - Dimensions of iddata, idmodel, idnlmodel, and idfrd objects

Syntax

d = size(m)
[ny,nu,Npar,Nx] = size(model)
[N, ny, nu, Nexp] = size(data)
ny = size(data,2)
ny = size(data,'ny')
size(model)
size(idfrd_object)

Description

size describes the dimensions of iddata, idmodel, idnlmodel, and idfrd objects.

iddata

For iddata objects, the sizes returned are, in this order,

To access a specific size output, use syntax similar to the following: size(data,k) for the k size(data,'N'),size(data,'ny').

When called with one output argument, d = size(data) returns

idmodel

For idmodel objects the sizes returned are, in this order,

To access a specific size output, use syntax similar to the following: size(mod,2), size(mod,'Npar').

When size is called with one output argument, d = size(mod), d is given by

 [ny nu Npar]

idfrd

For idfrd models, the sizes returned are, in this order,

To access a specific size output, use syntax similar to the following: size(mod,2) or size(mod,'Nf').

When size is called with one output argument, d = size(fre), d is given by

[ny nu Nf Ns]

When size is called with no output arguments, in any of these cases, the information is displayed in the MATLAB Command Window.

idnlarx or idnlhw

For idmodel objects the sizes returned are, in this order,

To access a specific size output, use one of the following:

NY = SIZE(NLSYS,1)
NU = SIZE(NLSYS,2)
NY = SIZE(NLSYS,'Ny')
NU = SIZE(NLSYS,'Nu')

When called with only one output argument, N = SIZE(NLSYS) returns the vector N = [NY NU].

When called with no output argument, the information is displayed in the MATLAB Command Window.

idnlgrey

For idnlgrey objects the sizes returned are, in this order,

Ny, Nu, Nx, Np,Npo, Npf and Ne are set to NaN if NLSYS is inconsistent.

To access a specific size output, use one of the following:

NY = SIZE(NLSYS, 1)
NU = SIZE(NLSYS, 2)
NX = SIZE(NLSYS, 3)
NP = SIZE(NLSYS, 4)
NPO = size(NLSYS, 5)
NPF = (NLSYS, 6)
NE = (NLSYS, 7)
NY = SIZE(NLSYS, 'Ny')
NU = SIZE(NLSYS, 'Nu')

When called with only one output argument, N = SIZE(NLSYS) returns the vector N = [NY NU NP NX NPO NPF NE].

When called with no output argument, the information is displayed in the MATLAB Command Window.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS