How to get the coefficients from a nlarx model constructed using System Identification Toolbox?
Mostrar comentarios más antiguos
Hey all,
I am using System Identification Toolbox for constructing a non linear regression model. This is what I've done:
[num] = xlsread( '1.xlsx' ,1);
u1 = num(:,10); % Input Channel 1
u2 = num(:,3); % Input Channel 2
u = [u1 u2]; %Concatenate both input channels
y = num(:,11); % Output Channel
ts = 0.04; % Sampling Interval
data = iddata(y,u,0.04); % Construct data object with the specified input arguments
get(data) % Get the properities of the data object
advice(data)
datae = misdata(data,idarx); % This command linearly interpolates missing % values to estimate the first model. Then, it uses this model to estimate % the missing data as parameters by minimizing the output prediction errors % obtained from the reconstructed data.
advice(datae)
% Define the order by trial and error m1 = nlarx(datae,[4 4*ones(1,2) zeros(1,2)],'tree')
compare(datae,m1)
m2 = nlarx(datae,[2 2*ones(1,2) zeros(1,2)],'tree')
compare(datae,m2)
My second model was better with 94% fit. But now I don't know how to get the coefficients of the regressors and how to convert the model into a Transfer Function and to a SS model??
For example if I want to see the estimated parameters for M = ARX(DATA,ORDERS) I will type m.a
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Nonlinear ARX Models en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!