Regarding "compare" command of SysID toolbox

4 次查看(过去 30 天)
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.

采纳的回答

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