2% and 5% settling times

Hello,
I have simulated the same system within matlab and simulink for 2% and 5% settling time however the results are slightly different and I am unsure why. Can somebody help explain why i may get slightly different settling values for matlab and simulink?
Matlab
2% = 28.9 seconds
5% = 21.8 seconds
Simulink
2% = 30.45 seconds
5% = 21.75 seconds

Answers (1)

Sam Chak
Sam Chak on 28 Feb 2024
The intellectual explanation for the discrepancy could be that one of the settling times was measured incorrectly. To confirm this, I suggest plotting both responses in MATLAB and Simulink. As for the fix, make sure that both settling times are measured using the same baseline for accurate comparison.

Products

Release

R2023b

Asked:

on 28 Feb 2024

Answered:

on 28 Feb 2024

Community Treasure Hunt

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

Start Hunting!