What is difference between matlab rms() and File Exchange Signal rms()
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ted H
am 2 Aug. 2023
Bearbeitet: Stephen23
am 2 Aug. 2023
Both are called as y=rms(...).
How does Matlab know which one to use?
The editor window helper shows the syntax for the Matlab version. I put in values for the Signal rms version and do not get an error, and putting in the wrong number of parameters yeilds an error consistent with Signal rms. So I am using the Signal rms version.
Signal rms requires:
y = rms(signal, windowlength, overlap, zeropad)
Matlab function requires:
y = rms(x)
y = rms(x,"all")
y = rms(x,dim)
y = rms(x,vecdim)
y = rms(___,nanflag)
1 Kommentar
Akzeptierte Antwort
Cris LaPierre
am 2 Aug. 2023
MATLAB uses the function precedence outlined here: https://www.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!