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 Comments

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

Sign in to comment.

Answers (0)

Products

Release

R2021b

Asked:

on 9 Jun 2022

Commented:

on 9 Jun 2022

Community Treasure Hunt

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

Start Hunting!