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 Solvers89
Suggested Problems
-
Remove any row in which a NaN appears
8650 Solvers
-
4715 Solvers
-
813 Solvers
-
Create matrix of replicated elements
383 Solvers
-
Sum the squares of numbers from 1 to n
249 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!