help with Stepinfo values

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
Star Strider 2014-5-26

0 个投票

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.

类别

Community Treasure Hunt

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

Start Hunting!

Translated by