how to sample time of input vector in matlabb script
1 次查看(过去 30 天)
显示 更早的评论
Dear all, Ihave an optimization algorithm function (MPPT) the algorithm function receive input vector, i want to sample the time between inputs like i do in simulink by insurting zero order hold block(attached in photo) but in code how to do it ? what is its effect on the overal system in terms of efficiency, speed and especially stability?
![](/matlabcentral/answers/uploaded_files/1694251/IMG_20240514_090918.jpg)
3 个评论
Mathieu NOE
2024-5-14
in matlab you can also play with sample times , you can reduce it with decimate , resample , interp1
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Switches and Breakers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!