# Describe the solution trajectory of differential systems with mixed time-varying delay

68 vues (au cours des 30 derniers jours)
Le le 26 Mai 2024 à 4:13
Commenté : Torsten le 26 Mai 2024 à 15:26
Hi everyone, please help me write the matlab code to describe the solution trajectory for the class differential systems with mixed time-varying delay as follows
Thank you very much!
##### 2 commentairesAfficher AucuneMasquer Aucune
Sam Chak le 26 Mai 2024 à 9:01

Hi, it doesn't look like typical questions for typical Bachelor's degree students in the Differential Equations course. Equation 30 probably comes from a Journal Article or a Reference book.

If you believe this is a time dependent delay differential system, then try using the ddesd function finds the solution. Copy and modify the code from the example. Paste the code here and run it.

Le le 26 Mai 2024 à 13:02
Ok, thank you very much

Connectez-vous pour commenter.

### Réponse acceptée

Torsten le 26 Mai 2024 à 9:49
Modifié(e) : Torsten le 26 Mai 2024 à 9:53
To write your equations as a system of delay differential equations that can be handled by a MATLAB solver, set
x3 = integral_{t-2-cos(2*t)}^{t} x1(s) ds
x4 = integral_{t-2-cos(2*t)}^{t} x2(s) ds
and differentiate x3 and x4 with respect to t using the Leibniz Integral Rule:
After this, you can use MATLAB's "ddesd" to solve for x1-x4:
##### 2 commentairesAfficher AucuneMasquer Aucune
Le le 26 Mai 2024 à 13:06
Thank you very much! Can you sent me a example of matlab code for type above differential system ?
Torsten le 26 Mai 2024 à 15:26
No, sorry, the hints I gave should suffice to set up the example without problems. If the code doesn't work, you can come back.
By the way: I set up the example from above and it works without changing any solver options.

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Mathematics 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!

Translated by