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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Produits

Version

R2021b

Question posée :

le 9 Juin 2022

Commenté :

le 9 Juin 2022

Community Treasure Hunt

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

Start Hunting!

Translated by