Plot time domain frequency graph

Hello there! I have data from oscillator. It consists of 18000000 dots and looks like the graph from picture I've attached here. I need to plot time domain frequency graph, but because of oscillations I can't use 'findpeaks' or finding zeroes to calculate a period. How can I find a frequency and plot it in time domain?

Risposte (1)

Abhishek Ballaney
Abhishek Ballaney il 28 Mar 2018

0 voti

https://in.mathworks.com/help/matlab/ref/fft.html

1 Commento

Thank you, but as I know Fourier transform will give me magnitude of the signal on Y axis and frequency on X axis. Maybe I made a mistake in my question. Because I need frequency in Hz on Y axis and time on X axis. Sorry my English, if it confused You.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by