Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers76
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3071 Solvers
-
2547 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Create a Multiplication table matrix...
697 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
735 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Please fix test case, M is inside comment, and not defined for later use.
The test suite does not set M, p, or F; therefore, the problem cannot be solved without hacking. Also, the test suite does not check for the absence of FOR.
The test suite should function properly now, including checking for the absence of for.