How to solve this fourier series/ boundary value on matlab?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can anyone tell me how to compute this on matlab? show the codes in step etc...
2 commentaires
Réponses (1)
darova
le 4 Juil 2020
here is a start
function res = f(t)
if t < 1
res = t;
elseif t < 2
res = 1;
else
res = 3-t;
end
end
and use ode45 to solve it
3 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!