How to tell if an object is an Uncertain state-space (USS) model?
2 次查看(过去 30 天)
显示 更早的评论
I have a function that is overloaded, and takes both standard state space, and uncertain (uss) state space as inputs.
Since c2d() doesn't work for uss, i need to do a different process depending on which type I pass in.
How can I tell programatically if an object is an Uncertain state-space (USS) model, vs a normal state space model?
I tried isempty(), isfield(), etc, but none of these commands are accepted on both uss and normal state space objects.
0 个评论
采纳的回答
Paul
2023-4-25
Hi @John
Also, there is a function isStateSpace that can handle the other part, though it might be undocumented.
p = ureal('p',1);
usys = tf(p,[1 p]);
usys
isuncertain(usys)
isStateSpace(usys)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Monte Carlo Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!