help with Stepinfo values

6 views (last 30 days)
Omar Mustafa
Omar Mustafa on 25 May 2014
Answered: Star Strider on 26 May 2014
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 ?

Answers (1)

Star Strider
Star Strider on 26 May 2014
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!