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!