06-10-2016 02:17 AM
Hello
I'd like to do a linear regression of -20 dB and -30 dB on a graph, could someone tell me how I should go about it?
Thank you
06-10-2016 02:25 AM
Hi,
You can try out with Linear Fit.vi or Logarithm Fit.vi
BR,
Vincent
06-10-2016 03:39 AM
06-10-2016 03:53 AM
06-10-2016 04:09 AM
Simply create this point!
The point can vary so how can I do?
Questions as usual:
- What is the problem exactly?
I have a graph with a fall in dB versus time, to be precise in our calculations, I am asked to study the curve with a drop of -5 dB maximum point (initially we have a tray so to -5dB from the tray) and then I have to do a linear regression of all the points for a fall to -20 dB and the exact same thing to -30 dB.
- Spirit of attaching an example VI?
My vi is not yet finished, infact I can not even see my graph because I'm not in good conditions.
- How do you want to interpolate? (Linear? Logarithmic?)
What is interesting to me is the linearity points
.
06-10-2016 05:37 AM
Hi G.,
I am asked to study the curve with a drop of -5 dB maximum point (initially we have a tray so to -5dB from the tray) and then I have to do a linear regression of all the points for a fall to -20 dB and the exact same thing to -30 dB.
It REALLY would help when you would attach an image of what you're talking about!
What is interesting to me is the linearity points
What are "linearity points"?
LabVIEW comes with functions for linear regression…
06-10-2016 06:22 AM
I let as an attachment that I must have.
I have to study the curve at -5 dB of the maximum, so here we consider the curve from only 75 dB, then make a linear regression of 75 dB to 55 dB (-20 dB drop), but also 75 dB to 45 dB (-30 dB drop).
I use linear regression function but I do not see how I can not tell him each time to each point.
thank you very much for your help
06-10-2016 07:52 AM
06-10-2016 08:11 AM
06-10-2016 08:26 AM
Do a linear regression on a subset of the array. Pick the part of the array that is within the limits you want.