PDE Toolbox: using numerical initial conditions

Can I use data points for my initial functions on a domain (as opposed to constant initial conditions, or function handles)? If so, how?

2 个评论

Make your data points a function handle, e.g.
f = @(x,y) interp2(xdata,ydata,zdata,x,y)

请先登录,再进行评论。

回答(0 个)

提问:

2022-6-9

评论:

2022-6-9

Community Treasure Hunt

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

Start Hunting!

Translated by