Random walk movement

In this project, I wrote a matlab code to keep a marker which moves randomly toward a square area, inside the boundary. so the marker moves with a specific speed in a random direction. when the marker reaches to the boundary of the square area, it will first bounce back and then will keep moving…

Exponential smoothing

Exponential smoothing method for finding the trend and seasonality of the data and doing forecast. simple exponential smoothing is for the data which doesn’t have seasonality. for data which has seasonality exponential smoothing has three formula as we could see in the figure below: at is level, bt is the trend and Ft is seasonality.…