Zero Order Hold with variable time step
Versión 1.0.0.0 (8,76 KB) por
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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using MATLAB > Author Blocks Using MATLAB S-Functions > Create MATLAB S-Functions >
Más información sobre Create MATLAB S-Functions en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspirado por: Pulse with jitter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |