Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers70
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6800 Solvers
-
The Hitchhiker's Guide to MATLAB
3414 Solvers
-
128 Solvers
-
Find the Nth Root of a Given Number
367 Solvers
-
195 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
what could be better than using bsxfun?
better is let matlab do this for you, an in new release there is no need to call bsxfun because it is calle implicitly