Closed somidad closed 8 years ago
abs(...) corresponds to the peaks in y axis, the angle corresponds to the peaks is the index.
No, I mean that taking abs(...) to -30 dB, for instance, will produce a wrong MUSIC spectrum
@gsongsong You're absolutely right. I had this fixed in my local copy and just failed to upload the fix. Thank you for pointing this out. I'm uploading a commit to fix this in about 5 minutes.
In lines between 646-652 of a file
csi-code/spotfi.m
:I think
abs
should be removed. Because MUSIC spectrum will have negative value at non-candidate in decibels , and takingabs
to the negative value will make a non-candidate to a candidate.If I get wrong, please let me know about it.
Regards.