MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayMYSTERYFUNCTION3 This takes a vector of numbers v and computes a vector w such the w[i] is the average of v[i] and the previous element. v[1] should be w[1] instead of an average. The function should work properly for any vector of length of at least one.

44 correct solutions
14 incorrect solutions

Last solution submitted on Apr 01, 2016

1 Comment