Azzera filtri
Azzera filtri

Integration with respect to time

26 visualizzazioni (ultimi 30 giorni)
Jayadrath Poojary
Jayadrath Poojary il 29 Nov 2022
Risposto: Rohit Kulkarni il 28 Ago 2023
Hi,
Could someone help me with what could be the script for:
where, (Zi dot=dZi/dt)
  1 Commento
Davide Masiello
Davide Masiello il 29 Nov 2022
Hi @Jayadrath Poojary, two things:
1 - Please share your code attempt.
2 - Be more specific, i.e.:
- Are Si, ri and Vg also function of time?
- What is the integration time span?

Accedi per commentare.

Risposte (1)

Rohit Kulkarni
Rohit Kulkarni il 28 Ago 2023
Hi,
I understand that you want to perform integration of the given function.
To integrate use the function q = integral(fun,xmin,xmax)
To evaluate the integral of the function, you can substitute the value of Zi_dot into the function and then apply the limits xmin and xmax to set the integration boundaries.
Here according to your equation xmin is 0 and xman is t.
Zi = integral(Zi_dot, 0, t)
Hope it helps!

Community Treasure Hunt

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

Start Hunting!

Translated by