How I calculate the confidence range plotted with showConfidence?
7 次查看(过去 30 天)
显示 更早的评论
Hi,
if I execute the next code:
%define time vector
Ts=0.01;
Tend=(10^4)*Ts;
t=(0:Ts:Tend)';
Nmax=length(t);
%input vector
U = randn(Nmax,1);
%noise vector
E = randn(Nmax,1);
%% generate the system
A=[1 -2.61 2.49 -1.02 0.15];
B=[0 -0.02 -0.03 0.05 0.01];
C=[1 2 3];
S=idpoly(A,B,C,[],[],1e-4,Ts);
%output vector
Y = sim(S,[U E]);
%identification data
data=iddata(Y,U,Ts)
%impulse response
imp=impulseest(data);
M=round((length(Y).*Ts)./100);
%plot
l=impulseplot(imp,M);
showConfidence(l,3)
How can I get the vector of confidence range plotted with showConfidence?
Thanks in advace.
1 个评论
Star Strider
2021-11-21
That is apparently undocumented. (I did a fair amount of property spelunking and could not find it.)
Please post back here on how to find that property, since others amy want to know that secret!
.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!