How do I compute the second derivative of a one-dimensional array?

In summary: Time (sec.) | Distance (m) | Velocity (m/s) | Acceleration (m/s^2) ||-------------|---------------|----------------|----------------------|| 0.0 | 0.0 | | || 0.1 | 5.0 | 50.0 | || 0.2 | 12.0 | 70.0 | 200.0 || 0.3 | 20.0 | 80.0 | 100.0 || 0.4 | 30.0 | 100.0 | 200.0
  • #36
Another question, if I were to place this Spectrum into an FFT would my sampling rate(fs) be 1hz ?
 
Physics news on Phys.org
  • #37
btb4198 said:
From this picture is looks like the bins increase by one .
One what? One eV? Could be -- please take care to always include units with the numbers. Thank you.
 
  • #38
btb4198 said:
From this picture is looks like the bins increase by one .
I don't think so. The increments along the horizontal axis (eV) increase by 2000 eV. Since you're attempting to find an approximation to the derivative, is your math background sufficient for you to understand what you're trying to do? That is, have you taken calculus sometime in the past?
 
  • Like
Likes berkeman
  • #39
btb4198 said:
Another question, if I were to place this Spectrum into an FFT would my sampling rate(fs) be 1hz ?
No. You already have a plot of counts per fraction-of-an-eV. What domain do you want the FT to transform that into? You can't randomly do FFT processing on data and get meaningful information.
 
  • #40
berkeman said:
You can't randomly do FFT processing on data and get meaningful information.
In short, GIGO...
 
  • Like
Likes berkeman
  • #41
berkeman said:
No. You already have a plot of counts per fraction-of-an-eV. What domain do you want the FT to transform that into? You can't randomly do FFT processing on data and get meaningful information.
In the example excel file, could you put that into an FFT? Or no ?
anyhow, The Output of the DPP is Very noise, so I wanted to filter out the noise.
 
  • #42
btb4198 said:
In the example excel file, could you put that into an FFT? Or no ?
anyhow, The Output of the DPP is Very noise, so I wanted to filter out the noise.
Your thread is now temporarily locked. I will send you a Private Message (PM) in a few minutes to try to salvage it.
 
  • #43
After the PM discussion with the OP, there is no reason to re-open this thread. Thanks everybody for trying to help the OP out.
 

Similar threads

Replies
14
Views
2K
Replies
6
Views
3K
Replies
3
Views
3K
Replies
5
Views
2K
Replies
5
Views
2K
Replies
4
Views
3K
Replies
2
Views
1K
Back
Top