필터 지우기
필터 지우기

about step input dimension in simulink

조회 수: 3 (최근 30일)
Vijay Marathe
Vijay Marathe 2011년 12월 1일
when you connect a simple step input to scope in simulink file, then enable (port/signal display/port data type) from format option in toolbar it shows data type as double. why it is so ? what is the dimension of it ?

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 12월 1일
The default datatype in MATLAB and Simulink is double (the Step block outputs real signals of type double, as stated in the documentation). Most blocks allow you to configure the output datatype (although the Step block doesn't). You can use a Data Type Conversion block to convert it to a different type, or construct a simple step signal manually by using a Unit Delay block with a Constant (=1, specify output datatype) block as its input, and it's initial value as zero.
You can turn on display of signal dimensions from the menu Format>Port/Signal Displays>Signal Dimensions. If no dimensions are displayed, it is a scalar signal.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by