Question: Matlab Modily the make tone tunction to allow the duration of the tone to be specified by the caller. The updated function should have the
Matlab

Modily the make tone tunction to allow the duration of the tone to be specified by the caller. The updated function should have the form function [y) make_tone(f, Fs, D) % make tone Produce a musical tone % y make-tone(f, Fs, D) produces a musical tone of duration % D'seconds with a frequency of f and sampling rate of Fs Now enter the commands to use this function to create a middle C musical note of 2 seconds duration, and play the resulting tone
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
