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

Nafees Ahamad
Nafees Ahamad 2019년 1월 27일
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 2020년 4월 1일
Than You!!!
shubham sharma
shubham sharma 2021년 1월 7일
thanks
Hussein shutari
Hussein shutari 2021년 7월 1일
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 2022년 10월 16일
편집: Learner123 2022년 10월 16일
Hi,
Last value can be taken.
try the below code.
ans.ISE.values(length(ans.ISE.values),1);

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

태그

질문:

2017년 9월 1일

편집:

2022년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by