Interpolation 2D Array with different timesteps

2 ビュー (過去 30 日間)
Justin Lee
Justin Lee 2020 年 12 月 18 日
コメント済み: Justin Lee 2020 年 12 月 18 日
Hi Everyone,
I would like to interpolate the heat fluxes on the plate at a different point in time. Here is one with a simulation time of 0.1Seconds.
Given the code to obtain this heat fluxes,
Q{i,1}=((cvfunc(T_Exp_use{i,1}).*T_Exp_use{i,1}-cvfunc(T_Sim_interp{i,1}).*T_Sim_interp{i,1})./results.SolutionTimes(i,1)).*Rho.*thickness;
whereby the results.SolutionTimes(1:4,1) are 0, 0.100,0.200,0.300 respectively.
results.SolutionTimes(1,1)=0 which gives -Inf, however, this is Q{1,1} is the 2D array to interpolate to from Q{2,1} with results.SolutionTimes{2,1}=0.1
I'm not sure if it is possible to interpolate this 2D array from 0.1second to 0second.
Possibilities:
Griddata(x,y,z,V,xq,yq,zq) whereby z can be the time vector?
TriScatteredInterp(x,y,z,v)
I would appreciate if anyone could help.
Best regards,
Justin
  2 件のコメント
Star Strider
Star Strider 2020 年 12 月 18 日
Justin Lee
Justin Lee 2020 年 12 月 18 日
yes. I couldn't see if I have posted it. Sorry about that.

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by