필터 지우기
필터 지우기

How to combine 2 signals

조회 수: 30 (최근 30일)
Danya
Danya 2023년 3월 20일
답변: Abb 2023년 3월 20일
I have a signal that was decmoposed into 2 signals, and the (decomposed) signals were put into CNN for prediction.I got the predictions for the 2 decomposed signals. How can I combine/add them together to get a single signal for the result?
  댓글 수: 2
Image Analyst
Image Analyst 2023년 3월 20일
That depends on how you decomposed them in the first place.
Just undo/reverse that process.
Danya
Danya 2023년 3월 20일
I decomposed a time series power signal using Discrete Wavelet Transform (DWT) and got sub-series signals (low and high frequency) and used each sub-series signal as an input to CNN to forecast/predict the sub-series power
How can I combine/add the forecasted sub-series signals to get the final forecated power value?

댓글을 달려면 로그인하십시오.

답변 (1개)

Abb
Abb 2023년 3월 20일
% assume you have the two decomposed signals and their predictions already
alpha = 0.5; % adjust the weighting as desired
final_pred = alpha*pred1 + (1-alpha)*pred2;
original_signal = signal1 + signal2;

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by