Zero Order Hold with variable time step

Level-2 M-file S-function that acts as a ZOH sampler with sample times specified as a block input.
857 Downloads
Aktualisiert 7. Jun 2011

Lizenz anzeigen

This submission demonstrates how to write a level-2 M-file S-function with a variable sample time.

The block samples and holds an input signal were the inter-sample period is specified by another input signal (and may vary from time period to time period).

Each step size must be positive or an error is thrown.

Zitieren als

Phil Goddard (2024). Zero Order Hold with variable time step (https://www.mathworks.com/matlabcentral/fileexchange/31711-zero-order-hold-with-variable-time-step), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: Pulse with jitter

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0