Displaying a Fourier transform in the frequency domain

2 views (last 30 days)
Hi all,
I'm doing a vibration experiment using a piezoelectric vibtration sensor and an arduino uno microcontroller, controlled via Simulink. Im trying to convert the output bit-value retrieved from the analog port into a Fourier transform. I want to display the Fourier transform then as a function of frequency. However, until now the Fourier transform just displays the same function of time as retrieved from the sensor (using the data analyzer). I have tried implementing an array plot and a spectrum analyzer, but without success. Coukd anyone help?
Thanks,
Hans

Answers (1)

Nikhil Sonavane
Nikhil Sonavane on 30 Dec 2020
You may refer to the following documentation which will help you resolve your query-

Categories

Find more on Transforms and Spectral Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!