forget last post. excellent. thanks guys
Type: Posts; User: a.mlw.walker
forget last post. excellent. thanks guys
That did a much better job, the function is a parameter estimation, and it gets the first one correct, however the other two are close but not that close (to the matlab - and the matlab is very close...
So to conclude (i got a little confused with that) it isnt doing what you thought it was? and therefore the following code you suggested isnt the solution? Or is it? (I believe the Matlab)
What about the bracket before exp and before the '.'? dont they say do the subtraction first?
anduril462, in your alternative c code do you mean '=' instead of '-'? and should v1[i] be temp[i]?
Have you ever tried to replicate matlab code in C? The above code is supposed to be my translation of matlab code, however its not producing the same x_coeff_2 value: Its strange because up to that...
Whats the deal with using floats and double in same mathematical expressions?
I have the foloowing function, and I just noticed that three parameters, eta phi and omega_2 are floats, the rest are...