how to find the smallest point before rising limb and then calculate the gradient between that point and peak ??
4 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
I want to find the gradient between two point, one of the points is the peak value in the data set and the other one is the lowest point before the peak. the data set is saved
in a vector (presented by the red line on the graph). i know how to locate the peak values but do not know how to tell matlab to find the the minimum point before peak. can anyone help please??
thanks

0 件のコメント
回答 (1 件)
Mathieu NOE
2021 年 4 月 29 日
hello
once you have found the x location of the B point , let's say is xB , then you can find xA knowing the this point should appear in the vector that has length of 100 samples before xB
so
[valA,xA] = min(data(xB-100:xB));
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!