Azzera filtri
Azzera filtri

I want to perform this time derivative?

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Tag

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by