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
-
Number of 1s in the Binary Representation of a Number
464 Solvers
-
Sum of first n positive integers
607 Solvers
-
701 Solvers
-
Sum of odd numbers in a matrix
600 Solvers
-
Matlab Basics - Convert a row vector to a column vector
656 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!