- #1
bendanish
- 8
- 0
Dear people,
I am trying to analyze data from test bench which consists of a magnetically levitated spindle. We have a rotor/spindle which rotates and moves vertically up and down as it rotates. I measure the angle of rotation and the verticle displacement at a steady rate of 10,000 samples per second.
The issue is that the rotational speed is not perfectly constant so for one rotation of the of the rotor I somtimes get 5k samples, sometimes 6k samples.
I need to express the vertical movement as a function of the rotation angle.
In other words, in the x-axis (angle of rotation in degrees for three rotations) I have data which looks like this:
x = [0 55 125 190 240 300 350 65 120 185 240 355 50 110 180 235 355 0];
y = [0 1.2 2 2.5 2.1 1.1 0.1 0.9 1.9 2.6 2 1.0 0 0.8 1.9 2.5 1 0];
I basically need the Fourier transform of Y.
Also, its not possible for me to do any sort of interpolation to make X look "nice".
Would really appreciate if anyone can help me out with this, either my recommending some books or papers that deal with these sort of problems or by providing a code that can do this.
Thanks.
Danish
I am trying to analyze data from test bench which consists of a magnetically levitated spindle. We have a rotor/spindle which rotates and moves vertically up and down as it rotates. I measure the angle of rotation and the verticle displacement at a steady rate of 10,000 samples per second.
The issue is that the rotational speed is not perfectly constant so for one rotation of the of the rotor I somtimes get 5k samples, sometimes 6k samples.
I need to express the vertical movement as a function of the rotation angle.
In other words, in the x-axis (angle of rotation in degrees for three rotations) I have data which looks like this:
x = [0 55 125 190 240 300 350 65 120 185 240 355 50 110 180 235 355 0];
y = [0 1.2 2 2.5 2.1 1.1 0.1 0.9 1.9 2.6 2 1.0 0 0.8 1.9 2.5 1 0];
I basically need the Fourier transform of Y.
Also, its not possible for me to do any sort of interpolation to make X look "nice".
Would really appreciate if anyone can help me out with this, either my recommending some books or papers that deal with these sort of problems or by providing a code that can do this.
Thanks.
Danish