help with Stepinfo values

5 visualizzazioni (ultimi 30 giorni)
Omar Mustafa
Omar Mustafa il 25 Mag 2014
Risposto: Star Strider il 26 Mag 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 ?

Risposte (1)

Star Strider
Star Strider il 26 Mag 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!

Translated by