how to sample time of input vector in matlabb script

2 次查看(过去 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?

  3 个评论
YASSER
YASSER 2024-5-14
移动:Mathieu NOE 2024-5-14
in simulink i can slow the process of input by changing sample time i want to know how to do it in matlab in order to introduce an inner loop that has big responce time
Mathieu NOE
Mathieu NOE 2024-5-14
in matlab you can also play with sample times , you can reduce it with decimate , resample , interp1

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by