what does this instruction means?
1 view (last 30 days)
Show older comments
sfdr=max(ptot(nper+4:N/2))
0 Comments
Accepted Answer
C.J. Harris
on 22 Mar 2013
Edited: C.J. Harris
on 22 Mar 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 Comments
C.J. Harris
on 22 Mar 2013
Edited: C.J. Harris
on 22 Mar 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.
More Answers (0)
See Also
Categories
Find more on Test and Measurement 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!