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}

Solution 4897749

Submitted on 23 Feb 2021 by kazuyoshi kouno
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