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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2021b

Gefragt:

am 9 Jun. 2022

Kommentiert:

am 9 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by