Clear Filters
Clear Filters

I want to perform this time derivative?

3 views (last 30 days)
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.

Accepted Answer

Torsten
Torsten on 16 Jun 2024
Edited: Torsten on 16 Jun 2024
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 Comments
SUBHAM HALDAR
SUBHAM HALDAR on 21 Jun 2024
And if i want to obtain the Vc, what opeartion does i need to perform?
Torsten
Torsten on 21 Jun 2024
Edited: Torsten on 21 Jun 2024
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).

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!