Zero Order Hold with variable time step
Versione 1.0.0.0 (8,76 KB) da
Phil Goddard
Level-2 M-file S-function that acts as a ZOH sampler with sample times specified as a block input.
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.
Cita come
Phil Goddard (2026). Zero Order Hold with variable time step (https://it.mathworks.com/matlabcentral/fileexchange/31711-zero-order-hold-with-variable-time-step), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using MATLAB > Author Blocks Using MATLAB S-Functions > Create MATLAB S-Functions >
Scopri di più su Create MATLAB S-Functions in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: Pulse with jitter
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
