We enclose a self-explanatory example.
%1. PREPARATIONS %Close all windows first, and clear previous data: close all, clear, figure(1) %Define full system model: model=fidmodel('s',real(poly([1+j,1-j])),real(poly([-1-j,-1+j,-0.1,-0.5]))); plot(model) %plot original model %Define helper data object for simulation: Fdat=fiddata(NaN*ones(10,1),ones(10,1),[0.05:0.05:0.5]); Fdat.variance=[0.001,0.001]; %Simulate noisy measurement: data=simfou(model,Fdat); %Plot simulated data (simulated from original model) figure(2), plot(data), figure(3) % %2. MAIN PART model_est=elis(data,'s',2,4); %estimate original model model_known=fidmodel('s',1,real(poly([-0.1]))); %known subsystem datam=data/model_known; %Modify data, remove effect of one pole %Plot modified data: figure(4), plot(datam), figure(5) model_partial=elis(datam,'s',2,3); %estimate remaining model