Problem 146. Tune your guitar

Given an input string with the scientific pitch notation for standard tuning ( ) of a guitar string (e.g. 'E4'), return the frequency (to nearest whole number) in hertz (in this case, 330).

Solution Stats

61.59% Correct | 38.41% Incorrect
Last solution submitted on Oct 06, 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