how to convert mat file of impulse signal to wavefile?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
fs=1000;
t= 0 :1/fs : 10;
impulse= t==2;
double(impulse)
plot(t,y);
save impulse.mat
Data = load('impulse.mat');
audiowrite('impulse.wav', Data.y, fs);
i want to make signal wave file about impulse signal
it is not working
how to convert ?
0 commentaires
Réponses (1)
Walter Roberson
le 31 Jan 2023
fs = 1000;
t = 0 : 1/fs : 10;
impulse = t==2;
audiowrite('impulse.wav', double(impulse), fs);
Voir également
Catégories
En savoir plus sur Measurements and Feature Extraction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!