how can convert time domain to frequency domain

1 view (last 30 days)
hi i have problem to convert this time domain to frequency domain please help me
t = [ 0 : 0.001 : 3 ]';
x= 0.7*sin(2*pi*1*t)+0.1*sin(2*pi*50*t);
plot(t,x);
xlabel ("Time in Seconds");
title ("noise signal");
ylabel ("volt"); signal into

Answers (1)

Walter Roberson
Walter Roberson on 22 Jan 2021
See fft and in particular the first example to see how to label the frequency bins

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!