Given a input vector x, return y as index-powered vector as shown below.
Example
x = [2 3 6 9]
then y should be
[2^1 3^2 6^3 9^4] = [2 9 216 6561]
Find the longest sequence of 1's in a binary sequence.
2438 Solvers
1400 Solvers
397 Solvers
First non-zero element in each column
461 Solvers
07 - Common functions and indexing 2
255 Solvers
Problem Tags