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 Stats
Problem Recent Solvers153
Suggested Problems
-
Find the sum of all the numbers of the input vector
41442 Solvers
-
Vectorize the digits of an Integer
302 Solvers
-
Find the maximum two numbers of every column of a matrix
176 Solvers
-
330 Solvers
-
Sum the squares of numbers from 1 to n
219 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!