Given a figure created by spectrogram function, how do I set the ticks according to the following formula?
(12 × log2 (f / 440)) + 69
[f is the current value on the axis, and the formula’s result should replace it]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I understand your question right…There might be a more efficient way, but I think this works:
This keeps the x-axis scaling the same, but changes the tick labels according to the formula you gave.