Filter löschen
Filter löschen

what does this instruction means?

4 Ansichten (letzte 30 Tage)
lotus
lotus am 22 Mär. 2013
sfdr=max(ptot(nper+4:N/2))

Akzeptierte Antwort

C.J. Harris
C.J. Harris am 22 Mär. 2013
Bearbeitet: C.J. Harris am 22 Mär. 2013
It means sfdr will take on the maximum value contained in the array ptot between element number nper+4 and element number N/2.
If you want a better answer you really have to add more detail to your question.
  5 Kommentare
C.J. Harris
C.J. Harris am 22 Mär. 2013
Bearbeitet: C.J. Harris am 22 Mär. 2013
My guess is that the values in the array ptot are not what you expect. In your example above you are taking the maximum value in the array ptot between element 77 and 2048. In your case that maximum value is -74.2306, there is nothing you can do to 'correct' this, apart from changing the values in the array ptot.
lotus
lotus am 22 Mär. 2013
thank you.i'll try my best.your explanation made me understand better about "nper"

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by