I want to perform this time derivative?

3 次查看(过去 30 天)
i want to perfrom this time derivative of volume which depends upon Ab and r_dot_L, these factor are calculated before and has an array of (600(time tb) x 412(distance X)) both of the values are time dependent and changes with respect to X.

采纳的回答

Torsten
Torsten 2024-6-16
编辑:Torsten 2024-6-16
From your description, you have 412 different dV_c/dt curves over time, one curve for each distance X. And now ? Do you want to reconstruct the 412 V_c curves over time ?
If you only want to compute dV_c/dt, just multiply the two matrices elementwise:
dV_c_dt = Ab.*r_dot_L
  2 个评论
SUBHAM HALDAR
SUBHAM HALDAR 2024-6-21
And if i want to obtain the Vc, what opeartion does i need to perform?
Torsten
Torsten 2024-6-21
编辑:Torsten 2024-6-21
If you have the vector t of 600 times corresponding to the 600 x 412 dV_c_dt values, you can get an approximation of the V_c values over time by the command
dV_c_dt = Ab.*r_dot_L;
V_c = V_c0 + cumtrapz(t,dV_c_dt)
where V_c0 is V_c at time t(1).

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by