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 Comment

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

Sign in to comment.

Answers (0)

Asked:

on 22 Jun 2022

Commented:

on 23 Jun 2022

Community Treasure Hunt

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

Start Hunting!