Skip to main content
16-Pearl
March 14, 2016
Question

Finding parameter to fit known eq. to 3 points?

  • March 14, 2016
  • 1 reply
  • 2937 views

To all,

I am trying to see if one can find a parameter required to fit a known equation to a set of data points. See attached.

I have an equation Q(w,wn,zeta) and would like to see if it 's possible to find the value of zeta required to fit the Q() for a given data set

 

Test 1:

For a given range of w values, a value of wm and zeta = 0.04, I calculated the Q value, allocated them to a table to “mimic” a data set (not important but it follows how data is provided. I am trying to work “backward” by trying to find the zeta value required to fits Q at the max value. (Obviously mcad must predict zeta  =0.04 !)

I have set up ‘test 1’ as a root() but nothing is return

 

Test 2:

  Use a subset of a known data set and see if one can find the zeta value required to fit Q() passing through 3 points of that subset

I know that must people will say that I am tackling the problem the wrong way but I have to start somewhere and that why I am looking for advice

Any pointers by the more mathematically inclined out there would be much appreciated

Thanks

Regards

 

 

1 reply

19-Tanzanite
March 14, 2016

Do you mean something like in the attached?

Alan

16-Pearl
March 14, 2016

Thanks AlanS. definitely a step forward. I  now understand the mistake I made on my 'test1'

Questions if I may?

1. in the solve block you defined 1 equality.

    Why not 1 equality for each point? See attached for my attempt

2. Why is there no way of plotting the Q() function with the zeta found over the range w? Mind you zeta appears to be too big as it should be <1

19-Tanzanite
March 14, 2016

J B wrote:

Thanks AlanS. definitely a step forward. I  now understand the mistake I made on my 'test1'

Questions if I may?

1. in the solve block you defined 1 equality.

    Why not 1 equality for each point? See attached for my attempt

2. Why is there no way of plotting the Q() function with the zeta found over the range w? Mind you zeta appears to be too big as it should be <1

1. It is an equality for each of the three points. They are in a 3x1 vector, and all three are being compared. Although I used different wn for each point, I suspect that a single wn should be used. Given that there are three points of comparison you could use Minerr to find the best combination of wn and zeta.

2.  You should be able to plot Q as a function of w using a value of zeta and a value of  wn.

Alan.