Prev: substruction of of one column from other column of matrix
Next: multiple legend and marker in plot
From: Fatima on 6 May 2010 04:26 hello i'm trying to simulate signals with nlarx model using standard and custom regressors, and i use "compare", to shw the fit between original and estimated signal, using this code: y=iddata(x,[],0.05); m = nlarx(y, [8]); R = polyreg(m,'MaxPower',2,'CrossTerm','on'); m = addreg(m,R); m=nlarx(y,m) ; n=getreg(m); figure,compare(y,m,1) figure,plot(y); the problem is that i want to get the estimated signal y as a vector, but by using nlarx, i get an iddata. thanks
|
Pages: 1 Prev: substruction of of one column from other column of matrix Next: multiple legend and marker in plot |