what does this error mean? Error using snr Expected input number 2, Fs, to be a scalar.
8 views (last 30 days)
Show older comments
Error using snr
Expected input number 2, Fs, to be a scalar.
0 Comments
Answers (1)
Voss
on 4 Dec 2021
This error means that the second input argument to the function snr is interpreted by MATLAB - based on how your code calls snr - to be the sampling rate Fs, and the sampling rate is expected to be a scalar, but your code has supplied a non-scalar second input argument.
If you share how your code calls snr, I can maybe be more specific on how you can avoid this error.
0 Comments
See Also
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!