How to find maximum amplitude of a vibration plot?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Gyandeep Borgohain
am 8 Jan. 2022
Bearbeitet: DGM
am 8 Jan. 2022
How do i find the maximum amplitude (Y value) and corresponding x-value for such plots?
0 Kommentare
Akzeptierte Antwort
DGM
am 8 Jan. 2022
Bearbeitet: DGM
am 8 Jan. 2022
Something like
% example data
x = linspace(0,2*pi,100);
y = sin(x);
[maxy idx] = max(y); % find maximal y-value
maxx = x(idx); % find corresponding x-value
[maxx maxy] % location of maximal point in the set
plot(x,y); hold on
plot(maxx,maxy,'o')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Acoustics, Noise and Vibration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!