MATLAB Answers

how can convert time domain to frequency domain

12 views (last 30 days)
Muhammad Ismail
Muhammad Ismail on 22 Jan 2021
Answered: Walter Roberson on 22 Jan 2021
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

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!