help with Stepinfo values
7 次查看(过去 30 天)
显示 更早的评论
hi i have simulating circuit for buck converter i put ( to workspace ) on the output and i want to get the times of ( rising, setlling, peak ) i tried stepinfo but it's give me large values of times not in msec, what can i do to get small time ?
回答(1 个)
Star Strider
2014-5-26
The tf and related functions can take name-value pairs to define such as 'TimeUnit'. From the tf documentation:
- Any of the previous syntaxes can be followed by property name/property value pairs
- 'Property',Value
- Each pair specifies a particular property of the model, for example, the input names or the transfer function variable. For information about the properties of tf objects, see Properties. Note that
- sys = tf(num,den,'Property1',Value1,...,'PropertyN',ValueN)
- is a shortcut for
- sys = tf(num,den)
- set(sys,'Property1',Value1,...,'PropertyN',ValueN)
See the Properties section (a bit more than half way down the page) for details.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Power and Energy Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!