Filter löschen
Filter löschen

filling a vector for a given interval

2 Ansichten (letzte 30 Tage)
krayem youssef
krayem youssef am 11 Apr. 2019
Kommentiert: Geoff Hayes am 12 Apr. 2019
hi guys,
i am working on the 1D heat equation and im trying to make my initial conditions take the value 1 from l/4<x<3*l*/4 but when i do that it doesn't work as i want
if someone could help me.
thank you.
  3 Kommentare
krayem youssef
krayem youssef am 12 Apr. 2019
the initial condition works from 0 to 1/4 and not from 1/4 to 3/4
Geoff Hayes
Geoff Hayes am 12 Apr. 2019
krayem - what do you mean by that it doesn't work from 1/4 to 3/4? You get the wrong result or it doesn't iterate over these values?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Heat and Mass Transfer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by