Getting this error in the following code:Error using audiowrite (line 116) Expected input to be real. Error in ll85 (line 102) audiowrite('masked.wav',y,fs);
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Error using audiowrite (line 116)
Expected input to be real.
Error in ll85 (line 102)
audiowrite('masked.wav',y,fs);
0 commentaires
Réponses (1)
Voss
le 1 Déc 2021
Sounds like one or both of your variables y and fs has a non-zero imaginary part. You can use isreal to check on that.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!