필터 지우기
필터 지우기

How to get zero output in matlab when you have two singals in input

조회 수: 2 (최근 30일)
Muhammad  Abuzar
Muhammad Abuzar 2022년 12월 10일
댓글: Image Analyst 2022년 12월 12일
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

답변 (1개)

Image Analyst
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
Muhammad  Abuzar
Muhammad Abuzar 2022년 12월 12일
What's the procedure for this? I mean there should be some different methods to execute the such tasks. I neans to bring both the signals in phase by selecting a small portion of the signals or . Can you pls tell me what should i do from the start to the end in detail. I'll be grateful 🥺
Image Analyst
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 CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by