Problem 1441. Convolution Power

Create the convolution-power vector from initial vector x and power n. In other words, similar to the scalar case, raising to the n-th power means repeating the convolution on itself n times.

Assume that n is a non-negative integer and x is a row vector.


 ans =
 ans = 
     1     2     3     4     5
 ans = 
     1     4    10    20    35    44    46    40    25

Neither string operations nor interpolations are allowed!

Solution Stats

68.63% Correct | 31.37% Incorrect
Last solution submitted on Sep 16, 2016

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more