Integration with respect to time

40 views (last 30 days)
Jayadrath Poojary
Jayadrath Poojary on 29 Nov 2022
Answered: Rohit Kulkarni on 28 Aug 2023
Hi,
Could someone help me with what could be the script for:
where, (Zi dot=dZi/dt)
  1 Comment
Davide Masiello
Davide Masiello on 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?

Sign in to comment.

Answers (1)

Rohit Kulkarni
Rohit Kulkarni on 28 Aug 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!