Problem 1460. Cosine frequency doubler

Given an input vector containing a cosine wave of unknown frequency, produce an output vector of the same length containing a cosine wave of twice the input frequency. The output should have the same mean and amplitude as the input.

Solution Stats

22.86% Correct | 77.14% Incorrect
Last solution submitted on Jun 22, 2016

Solution 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