The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Calculating a function
Replies: 6   Last Post: Mar 5, 2014 6:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 4
Registered: 3/4/14
Re: Calculating a function
Posted: Mar 5, 2014 4:54 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> 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?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.