Global Index (short | long) | Local contents | Local Index (short | long)
NN=struc(NA,NB,NK)
STRUC generates typical structure matrices for ARXSTRUC and IVSTRUC. NN = STRUC(NA,NB,NK) NA, NB and NK are vectors containing the orders na, nb and delays nk to be tested. See HELP ARX for an explanation of na, nb and nk. NN is returned as a matrix containing all combinations of these orders and delays. The function is intended for single input systems only. See also ARXSTRUC, IVSTRUC and SELSTRUC for further information
This function is called by | |
---|---|
function NN=struc(NA,NB,NK) % L. Ljung 7-8-87 % Copyright (c) 1986-98 by The MathWorks, Inc. % $Revision: 2.3 $ $Date: 1997/12/02 03:44:24 $ if nargin < 3 disp('Usage: ORDERS = STRUC(NA_RANGE,NB_RANGE,NK_RANGE)') return end r=1; for ka=NA for kb=NB for kk=NK NN(r,:)=[ka,kb,kk]; r=r+1; end end end