MATLAB Answers

Signal Processing Align Error

3 views (last 30 days)
Sai Sandeep Rayanuthala
Sai Sandeep Rayanuthala on 20 Sep 2019
Answered: SaiDileep Kola on 23 Sep 2019
code : -
%determining the leg and allinging the signals
del=finddelay(fout1,fout2);
if (del>0)
fout1=alignsignals(fout1,fout2);
else
fout2=alignsignals(fout2,fout1);
end
Error : -
Error in stage1 (line 49)
fout2=alignsignals(fout2,fout1);

  0 Comments

Sign in to comment.

Answers (1)

SaiDileep Kola
SaiDileep Kola on 23 Sep 2019
Hi Sandeep:
You need not check delay to use alignsignals since it doesn’t make any difference by changing order of arguments in alignsignals function, the function itself take cares of negative delay, the error might be because of any other reason, if possible you may provide fout1 and fout2 data so that I can check.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by