我是靠谱客的博主 积极小蝴蝶,这篇文章主要介绍matlab function delay,现在分享给大家,希望可以做个参考。

function y = fcn(u)
% Unit delay implementation that maps to a register in hardware
persistent u_d;
if isempty(u_d)
% defines initial value driven by unit delay at time step 0
u_d = cast(0, 'like', u);
end
% return delayed input from last sample time hit
y = u_d;
% store the current input
u_d = u;

 

最后

以上就是积极小蝴蝶最近收集整理的关于matlab function delay的全部内容,更多相关matlab内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(143)

评论列表共有 0 条评论

立即
投稿
返回
顶部