initial conditions for zeror order hold

If the start time is not an integer multiple of the sample time for a zero order hold block in simulink, the output until the first sample is zero. When this is passed back to a system with faster samples (or even a scope), the results look very strange!
Why is it not possible for the zero order hold to a) have an 'initial conditions' parameter? b) take its first sample when the simulation starts?
The workaround is to start the simulation from t=0, but it would be nice if this wan't necessary.

1 commentaire

Kaustubha Govind
Kaustubha Govind le 24 Fév 2012
Craq: I don't know if there is a solution/workaround, but I would recommend reporting this to MathWorks Tech Support. Perhaps this could be an enhancement request.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Question posée :

le 24 Fév 2012

Modifié(e) :

le 24 Oct 2013

Community Treasure Hunt

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

Start Hunting!

Translated by