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 Solvers91
Suggested Problems
-
middleAsColumn: Return all but first and last element as a column vector
641 Solvers
-
Change the sign of even index entries of the reversed vector
633 Solvers
-
1479 Solvers
-
601 Solvers
-
193 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!