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
Solution Comments
Show comments
Loading...
Problem Recent Solvers92
Suggested Problems
-
4491 Solvers
-
Getting the row and column location from a matrix
299 Solvers
-
2249 Solvers
-
Matlab Basics II - Max & Index of Max
266 Solvers
-
square a vector-Given the variable x as your input, square it and put the result in y.
112 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The example you give in the problem statement is not very demonstrative.
HAHAHAHA Matt: this was great!!!