How to get zero output in matlab when you have two singals in input
2 ビュー (過去 30 日間)
古いコメントを表示
I don't have a code. My question is what the procedure if i have one signal(sound of insect). And I've been told to sink this sound with the help of another sound to get zero output
0 件のコメント
回答 (1 件)
Image Analyst
2022 年 12 月 10 日
I don't know what "sink" means to you. Do you mean lower or decrease? Maybe you just want to multiply the signal by some scalar, such as 0 or 0.1???
scalingFactor = 0.1;
signal = signal * scalingFactor;
I also don't know how the second signal would be used. But if you want zero output, you don't need the second signal, you can simply do
signal = 0;
4 件のコメント
Image Analyst
2022 年 12 月 12 日
@Muhammad Abuzar if you already have a second signal that you must use, and if your first and second signal need to be aligned before subtracting, you can refer to these instructions:
参考
カテゴリ
Help Center および File 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!