I want to perform this time derivative?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1716321/image.png)
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.
0 commentaires
Réponse acceptée
Torsten
le 16 Juin 2024
Modifié(e) : Torsten
le 16 Juin 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 commentaires
Torsten
le 21 Juin 2024
Modifié(e) : Torsten
le 21 Juin 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).
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!