canon
Posts:
4
Registered:
3/4/14


Re: Calculating a function
Posted:
Mar 5, 2014 4:54 PM


> Did you even read Tideman's answer ? > If instead of > > > x=linspace(a,b,nx); % nx is the no of points in x > > > y=linspace(c,d,ny); % ny is the no of points in y > you write > x=[2, 4, 5, 9]; > y=[1, 2, 4, 8]; > you are done. > > Best wishes > Torsten.
Thanks, Assuming each x and y value has its own f(x) and f(y) and I am looking for the function (z=f(x,y), f(x)*f(y)). That is it has 2 dimension, one is f(x,y) and another one is f(x)*f(y) for each pair of x and y. How can I figure it out?
Thanks

