How to solve this fourier series/ boundary value on matlab?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Can anyone tell me how to compute this on matlab? show the codes in step etc...
2 Kommentare
Antworten (1)
darova
am 4 Jul. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!