## simulation of equation

gould
Posts: 8
Joined: 2012-06-11
Location: Italy

Hello all, I would ask only a suggestion because I
have some difficult to start...
I have an equation representing the current in the form of I(x) = - I'(x)G(x,y), but this does not matter...
Whatever be the equation
I am interesting to simulate the response, that is plot the equation
at the varying of a set of data, this is because
I am looking the equation that fit well my data...
Could you give me an input just to start, than I will
try to go head by myself...?
thank you! G.

daggaz
Posts: 98
Joined: 2012-04-18
Location: Denmark

Load your data (two waves, dependent and independent points) and graph them. Then go into the Analysis menu and choose Curve Fitting. In the pop up GUI, you will be able to input user functions (you need to declare the variable parameters, but the menu is pretty self-explanatory) and then you can fit your data with these functions, or you can choose functions already on the list.

proland
Posts: 120
Joined: 2011-03-14
Location: United States

By "simulate response" I'm assuming that you wish to calculate I(x) and graph it. To do so, simply use wave arithmetic to calculate the values. For a crude example, lets say we have I(x) = 4*x^2 where x is a pre-determined set of data points.

Load your dependent data into a wave... say Wave0. Next, duplicate the wave (this ensures that they have the same number of points). Finally, perform the operation

```duplicate wave0, wave1
wave1 = 4*wave0^2```

While this is a simplified example, it gives you an idea of how to deal with functions. What you are describing as your end goal would be curve fitting. There is a rather lengthy section in the manual on curve fitting so you can go there to start.