Convert an identified discrete-time transfer function model to continuous-time.
load iddata1
sysd = tfest(z1,2,'Ts',0.1);
sysc = d2c(sysd,'zoh');
sys1c has no covariance information. The d2c operation leads to loss of covariance data of identified models.
Regenerate the covariance information using a zero iteration update with the same estimation command and estimation data.
opt = tfestOptions;
opt.SearchOptions.MaxIterations = 0;
sys1c = tfest(z1,sysc,opt);
Analyze the effect on frequency-response uncertainty.
h = bodeplot(sysd,sys1c);
showConfidence(h,3)
The uncertainties of sys1c and sysd are comparable up to the Nyquist frequency. However, sys1c exhibits large uncertainty in the frequency range for which the estimation data does not provide any information.
If you do not have access to the estimation data, use the translatecov command which is a Gauss-approximation formula based translation of covariance across model type conversion operations.