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 Kommentare

Nafees Ahamad
Nafees Ahamad am 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 am 1 Apr. 2020
Than You!!!
shubham sharma
shubham sharma am 7 Jan. 2021
thanks
Hussein shutari
Hussein shutari am 1 Jul. 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 am 16 Okt. 2022
Bearbeitet: Learner123 am 16 Okt. 2022
Hi,
Last value can be taken.
try the below code.
ans.ISE.values(length(ans.ISE.values),1);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 1 Sep. 2017

Bearbeitet:

am 16 Okt. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by