how can i add a sin wave of 400hz with a wav format audio file of 44100hz in matlab ??

1 次查看(过去 30 天)
i want to superimpose a sine wave of 400hz with a WAV file of 44100HZ. please tell me the of doing it in matlab

回答(1 个)

John Petersen
John Petersen 2013-2-4
44100Hz refers to the sampling rate of the WAV file. Is your sine wave sampled at the same rate but is a 400Hz tone? If so, just multiply the two. If not, then you need to add interpolated points so that the two signals have the same number of points before multiplying.

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by