Im having trouble trying to setup code to solve an ODE when I already have the equation to i(t) and I need to solve to get an equation for P(t).
i(t)=(29/25000)*((sin(pi*t))^13)*(cos((pi*t)-pi/10))
I have all the values for R2 R1 Cv and Lv.
Any help or advice would be very much appreciated.
Thanks.

4 Kommentare

Jan
Jan am 21 Feb. 2021
Which kind of problems do you have? What have you tried so far? Please post, what the equation for i(t) is. It helps, to solve your problem, if you share the available details.
Andrew Bickerdike
Andrew Bickerdike am 21 Feb. 2021
@Jan The equation for i(t) describes the Volume flow rate waveform in regards to solving the windkessel model in the hope to generate an equation for P(t)= the outlet pressure wave form.
I have tried dsolve so far but I am having trouble even starting to setup the equation to solve for P(t)
thanks
Jan
Jan am 21 Feb. 2021
Okay, now I see the equation for i(t) (maybe I have overseen if before).
Do you need a symbolic solution? Most equations do not have a closed form and numerical methods are needed for an integration.
Did you try to integrate the equation numerically already? Do you have some code?
Andrew Bickerdike
Andrew Bickerdike am 21 Feb. 2021
Its true that I need a symbolic solution. And I have not tried to integrate the solution already as I do not know where to start when it comes to even solving something like this in MATLAB.
Thanks again.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Karan Nandankar
Karan Nandankar am 1 Mär. 2021

0 Stimmen

Hi,
You can initiate solving this ODE by following this documentation from Symbolic Math Toolbox:
Regards,

Produkte

Gefragt:

am 21 Feb. 2021

Beantwortet:

am 1 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by