Derivative of Temperature vs time data

6 ビュー (過去 30 日間)
ryan
ryan 2025 年 2 月 25 日
回答済み: charan 2025 年 5 月 12 日
I have a CSV file with temperature data and time. I am trying to model the dynamic response of the temperature sensor, to do so I want to take the derivative of the data. I have used the "diff" command but my data just looks messy.
  5 件のコメント
Sam Chak
Sam Chak 2025 年 2 月 25 日
編集済み: Sam Chak 2025 年 2 月 25 日

Hi Ryan, the diff() function in MATLAB, when applied to the measured data, will return some values. But it does not magically give you a smooth and beautiful mathematical model, like dT/dt = f(T). Just for your info.

P.S. Same as gradient().

dpb
dpb 2025 年 2 月 26 日
And, of course, it also presumes the times have been recorded with sufficient precision to be able to use them...one often finds a timestamp has been recorded but not with sufficient precision to be useful.

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

回答 (1 件)

charan
charan 2025 年 5 月 12 日
Hi Ryan,
Here are some suggestions to calculate a smoother derivative of noisy data:

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by