Problem 2976. My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 1 1], y must be [1 1].
Solution Stats
Problem Comments
-
2 Comments
Matthew Eicholtz
on 7 Feb 2015
The example you give in the problem statement is not very demonstrative.
J.R.! Menzinger
on 2 Mar 2015
HAHAHAHA Matt: this was great!!!
Solution Comments
Show commentsProblem Recent Solvers88
Suggested Problems
-
443 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2107 Solvers
-
386 Solvers
-
Sum the 'edge' values of a matrix
336 Solvers
-
Replace every 3rd element in a vector with 4
244 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!