Hi everyone, could someone explain me how the sdmag parameter is calculated from the following statement? Thanks in advance.
[mag,phase,wout,sdmag,sdphase] = bode(sys,w);

 채택된 답변

Star Strider
Star Strider 2019년 2월 11일

1 개 추천

Those are only calculated for identified systems.
If you edit the bode.m here (to simply look through rather than edit the code):
C:\Program Files\MATLAB\R2018b\toolbox\shared\controllib\engine\@DynamicSystem\bode.m % Shadowed DynamicSystem method
you will find that it then refers to magphaseresp_.m and from there to freqresp.m, that among other outputs returns ‘covH’, the covariance of the frequency response of the identified model. That appears to be the source of the standard deviations for the magnitude and phase.
I will let you explore those at your leisure.

댓글 수: 2

Francesco Mennuti
Francesco Mennuti 2019년 2월 15일
Thank You !
Star Strider
Star Strider 2019년 2월 15일
As always, my pleasure!

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Get Started with Control System Toolbox에 대해 자세히 알아보기

질문:

2019년 2월 11일

댓글:

2019년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by