Let's say I have a function
f = @(x,y) g(x,y)
g
is not explicit. It should be calculated numerically after inputting x
and y
values.
How can I calculate and save all values of this function at points
[x,y] = meshgrid(0:0.1:1,0:pi/10:2*pi);
I call f[x,y]
, but it doesn't work.