How I calculate the confidence range plotted with showConfidence?

1 visualización (últimos 30 días)
Donato stigliano
Donato stigliano el 20 de Nov. de 2021
Comentada: Star Strider el 21 de Nov. de 2021
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 comentario
Star Strider
Star Strider el 21 de Nov. de 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!
.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Linear Model Identification en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by