Problem 2166. Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.
Solution Stats
Problem Comments
- 
		3 Comments
		Jihye Sofia Seo
    	on 16 Feb 2017
	
	
  	Please fix test case, M is inside comment, and not defined for later use.
		ChrisR
    	on 6 Nov 2021
	
	
  	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.
		goc3
    	on 12 Apr 2022
	
	
  	The test suite should function properly now, including checking for the absence of for.
Solution Comments
Show commentsProblem Recent Solvers67
Suggested Problems
- 
         Swap the first and last columns 21898 Solvers 
- 
         Set the array elements whose value is 13 to 0 1416 Solvers 
- 
         How many monitors are connected ? 155 Solvers 
- 
         Sum of odd numbers in a matrix 603 Solvers 
- 
         
         476 Solvers 
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!