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.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more