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

2 visualizaciones (últimos 30 días)
i want to superimpose a sine wave of 400hz with a WAV file of 44100HZ. please tell me the of doing it in matlab

Respuestas (1)

John Petersen
John Petersen el 4 de Feb. de 2013
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.

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by