https://jp.mathworks.com/help/matlab/ref/movprod.html
movprod - Moving product - MATLAB
This MATLAB function returns the local k-point products, where each product is calculated over a sliding window of length k across neighboring elements of A.
movingproductmatlab