Sliding Window

Any ideas regarding the implementation of a moving window (sliding window) in xcos. In Matlab it is easy due to the availability of the initial condition block, but since the same block is not present in xcos , it is a bit tricky. Any basic help will be very helpful.

Scilab 21-09-19, 3:42 p.m. hoon07

Kindly give us more details about the problem. If you have tried something in scilab and stuck somewhere, please share a snippent of that code.

26-12-19, 2:41 p.m. rupakrokade

the code for a sliding window based implementation of any algorithm/filter is pretty straight forward. The problem is with the implementation of the same sliding window in xcos, due to the absence of several blocks such as the initial condition and delay blocks in xcos library. If you have any idea on how to implement the same in scilab, do kindly share the same.

31-12-19, 1:36 p.m. hoon07

Login to add comment


For missing blocks, you can write an equivalent scilab function and then call it in xcos using the "sci_func" block. See this spoken tutorial to understand what I am saying.

06-01-20, 3:13 p.m. rupakrokade

Log-in to answer to this question.