i need to write an algorithm to develop this math problem

Imagine two arrays, each given by: [1:1:100], overlap each other (See figure below). The “overlap depth” is random: a number, between 1 and 100. 11 Overlapping elements should be added together. Generate a plot of the resulting array from such a collision. You will notice something remarkable. This should be an exercise in array gymnastics.
*****************************
please help me i will be so happy :)

2 Comments

The figure didn't attach
And please add more information.

Answers (0)

This question is closed.

Asked:

on 8 Sep 2016

Closed:

on 14 Sep 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!