help with Stepinfo values

조회 수: 7 (최근 30일)
Omar Mustafa
Omar Mustafa 2014년 5월 25일
답변: Star Strider 2014년 5월 26일
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일
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.

카테고리

Help CenterFile Exchange에서 Power and Energy Systems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by