Finding peaks inside an Array
6 次查看(过去 30 天)
显示 更早的评论
I want to show my Peaks inside a plot.
findpeaks seems to be the only thing that can do this.
But unfortunatly I can't get it to work with arrays.
for i =1:15
[pk_Moment {:,i}, lk_Freq {:,i}] = findpeaks(FFT_Moment {1,i}(:,1), FFT_Freq {1,i}(1,:));
end
Can Anybody show me how it's done?
采纳的回答
Ameer Hamza
2020-11-6
编辑:Ameer Hamza
2020-11-6
The left side should be like this
[pk_Moment{i}, lk_Freq{i}] = findpeaks(FFT_Moment {1,i}(:,1), FFT_Freq {1,i}(1,:));
4 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!