why we should use Zero Order Hold or Unit Delay before fuzzy block on simulink?

11 views (last 30 days)
when I don't use ZOH or unit delay, this system can't work correctly. An error occured, error: the sample time after propagation is [0,0]

Accepted Answer

Ravi
Ravi on 15 Jul 2013
The Zero-Order Hold block holds its input for the sample period you specify. The block accepts one input and generates one output. Each signal can be scalar or vector. If the input is a vector, the block holds all elements of the vector for the same sample period.
You specify the time between samples with the Sample time parameter. A setting of -1 means the block inherits the Sample time.
For your clear understanding... New Simulink model>>Create a SOURCE,ZOH,Unit Delay & Scope... Create scope axes properties to 3... Connect all & Run....
  1 Comment
Oni Bagus
Oni Bagus on 15 Jul 2013
when we use ZOH or unit delay? because the result is same with ZOH and unit delay? in my problem, I used it before fuzzy simulink block. thx

Sign in to comment.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!