フィルターのクリア

i have two set of data for temperature measurements which vary depends on each other. the variation may be divided into three portions. how can we seperate these portions

2 ビュー (過去 30 日間)
i have two set of data for temperature measurements which vary depends on each other. the variation may be divided into three portions maybe fisrt portion is linear and followed by a curved portion in the graph (may be exponential) and again linear increase. I also have the data for these two temperatures
  1 件のコメント
JINU SUDHAKARAN Mr
JINU SUDHAKARAN Mr 2023 年 6 月 12 日
The blue one is the important one. we need to select the region based on the blue one. initally a linear portion and then a curved portion. we need to divide the data exactly at the point in between these portion. how we can find that point?

サインインしてコメントする。

回答 (1 件)

Alan Stevens
Alan Stevens 2023 年 6 月 12 日
編集済み: Alan Stevens 2023 年 6 月 12 日
Here's a possible way (assumes the data is already in the workspace):
dT2 = gradient(T2);
minval = min(dT2(Time<2.5));
ix = find(dT2(Time<2.5)==minval);
T2lin = T2(1:ix); T2nonlin = T2(ix+1:end);
plot(Time(1:ix),T2lin,Time(ix+1:end),T2nonlin),grid

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by