I am working with pdetool of MATLAB for solving certain parabolic pde.
As you know there are prescribed format in pdetool for example in the parabolic case we have
$$du^{'}+{\rm div}(c*{\rm grad}(u))+a*u=f$$
where the values of $d,c,a,f$ should be specified.
My question is that can we enter $f$ or other parameters as a MATLAB function?
for example Dirac delta or anything else.
Thanks a lot for your kind attention.