Ive used an Arduino to measure vibration on a washing machine and have up to 100 raw data out putvalues. I want to present an amplitude/frequency spectrum with these values, i have matlab and simulink , but dont know how to start?
And example of how i think
Ax=[1 0 6 25 1 51 51 81 81 51 1 51 51 511 1 551 51 1 1 51 51 10 51 05 1510 15 5 8 0 8 0…]
time= 0-100 seconds.
plot(freq/amp specturm).
Regards,
Volkan
Best Answer
If it's anything like my old washing machine, 100 data values collected over 100 seconds isn't worth the paper you might print it on. Nyquist "says" the highest frequency you can extract (based on 1Hz sampling) will be 0.5Hz and for sure, when the machine is spinning, it's going to be several Hz and this will produce aliasing in your sampled results rendering them near-useless.