Zero Order Hold with variable time step
版本 1.0.0.0 (8.8 KB) 作者:
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.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using MATLAB > Author Blocks Using MATLAB S-Functions > Create MATLAB S-Functions >
在 Help Center 和 MATLAB Answers 中查找有关 Create MATLAB S-Functions 的更多信息
标签
致谢
参考作品: Pulse with jitter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |