I am constructing a model for parameter estimation in the System Identification Toolbox 6.0.1 (R14). This model is constructed from experimental frequency domain data and I am utilizing the IDGREY function to place constraints on my model. The data is constructed as follows:
dat = iddata( [Out1' Out2' Out3'] ,[Inp1' Inp2'], ... [0.0008],'Domain','Frequency','Freq',freq,'Units','rad/s')
After creating the IDGREY model I attempt to estimate the parameters using the PEM function and I receive the following error:
??? Error using ==> mtimes Inner matrix dimensions must agree. Error in ==> pe_f at 167 farg{kexp} = exp(i*freq{kexp}*Tsdata{kexp}*picorr); Error in ==> pe at 125 [el,xic,rmzflag] = pe_f(m,data,init,residcall); Error in ==> idgrey.pem at 217 [e,xi] = pe(data,m0);
Best Answer