Regarding "compare" command of SysID toolbox

조회 수: 3 (최근 30일)
Amol Khalate
Amol Khalate 2012년 2월 29일
I am using following command [yh,fit,x0] = compare(data,Model);
Now, the predicted output is a cell array yh = [5501x1x0 iddata]
Question: How can I convert this into a vector (5501x1)?
Why I want this: The command gives plot with x-axis as Time(sec). I need to plot 'yh' separately with x-axis as Time in MICRO-SECONDS.
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 2월 29일
5501x1x0 iddata ?? That's an empty array.

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

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2012년 2월 29일
>>y=yh{1,1}.y;
It might be useful also to look at the help for iddata: >>doc iddata
HTH.
Arkadiy

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Represent Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by