How I calculate the confidence range plotted with showConfidence?
1 view (last 30 days)
Show older comments
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 Comment
Star Strider
on 21 Nov 2021
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!
.
Answers (0)
See Also
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!