Using the System Identification Toolbox 5.0 (R13SP1), when I create two simple IDDATA objects and concatenate them using HORZCAT, I get an error.
The following lines of code cause an error:
d1 = iddata( rand( 10, 1 ), [], 1, 'OutputName', {'a'} );d2 = iddata( rand( 10, 1 ), [], 1, 'OutputName', {'b'} );[ d1 d2 ]
??? Index exceeds matrix dimensions.
Error in ==> \\pc2unix\ARCHIVE\R13\fcs\ship\pc\dist\toolbox\ident\ident\@iddata\horzcat.m
On line 74 ==> internew(:,kk) = datt.InterSample(novu,kk);
Best Answer