ISE, IAE, ITAE via Simulink

I have the data for output y and time t taken from simulink into the matlab workspace. I also have plot of y versus t Error is defined as
e(t)= 1-y(t).
Is it possible to calculate Integral square error, Integral absolute error, Integral time absolute error from this information. How could I do it ?

5 commentaires

Nafees Ahamad
Nafees Ahamad le 27 Jan 2019
trapz(t,abs(e)); % IAE trapz=numerical integration
trapz(t,e.^2); % ISE
trapz(t, t'.*abs(e)); % ITAE
trapz(t,t'.*(e.^2)); % ITSE
maine1978
maine1978 le 1 Avr 2020
Than You!!!
shubham sharma
shubham sharma le 7 Jan 2021
thanks
Hussein shutari
Hussein shutari le 1 Juil 2021
I am working on PI controller via matlab simulink, and want to assess the performance by using ISE . when i run the model i get a huge serise data of ISE in matlab workspace.
which value should be take as th ISE ??
Learner123
Learner123 le 16 Oct 2022
Modifié(e) : Learner123 le 16 Oct 2022
Hi,
Last value can be taken.
try the below code.
ans.ISE.values(length(ans.ISE.values),1);

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by