필터 지우기
필터 지우기

what is the format of yfinal in stepinfo function?

조회 수: 3 (최근 30일)
marc wang
marc wang 2015년 12월 3일
답변: Kiran 2015년 12월 30일
What is the correct format for yfinal in the stepinfo function given that y and t are 1 dimension vector output from simulink? stepinfo throws me the exception: "The input arguments "Y" and "YFINAL" of the "stepinfo" and "lsiminfo" command must have compatible sizes." I am unable to figure out what is the problem. The yfinal I am using is a step function generated by the simulink function generator.

답변 (1개)

Kiran
Kiran 2015년 12월 30일
I hope following explanation would make it clear.
" For SISO responses, t and y are vectors with the same length NS. For systems with NU inputs and NY outputs, you can specify y as an NS-by-NY-by-NU array (see step) and yfinal as an NY-by-NU array. stepinfo then returns a NY-by-NU structure array S of performance metrics for each I/O pair."
Documentation link:

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by