I was implementing weighted autocorrelation function. While adding noise I'm facing Too many input arguments Error.

The Error is
Error using addnoise
Too many input arguments.
Error in WAF_original (line 55)
input = addnoise( s,Fs, snr(snri), 1);

1 个评论

hello
addnoise is not a standard matlab function as far as I can tell
there are 2 FEX submissions about addnoise are you using one of those ?
the way you pass the paramterers in your code is not appropriate if you use the FEX functions

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by