MATLAB Cody - MATLAB Central

Problem 44886. Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}

Difficulty:Rate

Solution 1794378

Submitted on 21 Apr 2019 by Yoav Shallev
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author4

Community Treasure Hunt

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

Start Hunting!
Go to top of page