Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all values of x1 * x2^3, and (:,:,3) has values of x1^2 * x2/5.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
Select every other element of a vector
36232 Solvers
-
Find and replaces spaces from a input string with *
172 Solvers
-
Back to basics - mean of corner elements of a matrix
462 Solvers
-
Convert given decimal number to binary number.
2278 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
252 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Test suite needs to pass x1 and x2 to the function.
This problem has been edited and is now solvable.