How I calculate the confidence range plotted with showConfidence?

1 view (last 30 days)
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)
data = Time domain data set with 10001 samples. Sample time: 0.01 seconds Outputs Unit (if specified) y1 Inputs Unit (if specified) u1
%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
Star Strider on 21 Nov 2021
That is apparently undocumented. (I did a fair amount of property spelunking and could not find it.)
So Contact Support to find out how to access it.
Please post back here on how to find that property, since others amy want to know that secret!
.

Sign in to comment.

Answers (0)

Categories

Find more on Linear Model Identification in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!