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

2 vues (au cours des 30 derniers jours)
MD.FAISAL
MD.FAISAL le 3 Fév 2013
i want to superimpose a sine wave of 400hz with a WAV file of 44100HZ. please tell me the of doing it in matlab

Réponses (1)

John Petersen
John Petersen le 4 Fév 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.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by