Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how to extracts each index for each maximum value?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
[value index]=max() give only one maximum value and a index. But i need a code that gives each maximum value and their index in both time and frequency domain. how do it?
0 Kommentare
Antworten (1)
Walter Roberson
am 10 Feb. 2014
value = max(YourVector);
allindex = find(YourVector == value);
A maximum in the time domain is present in all frequencies.
I wonder if you are looking for peaks rather than maximums ?
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!