Plotting of a simple sine function in a frequency domain
Show older comments
Hello, I need help with plotting of a simple sine or cosine function in a frequency domain. I have tried to look on the net how to do this but without a success. It should be in continuous time. I just want to see the 2 delta functions and I will continue from there. Thanks.
1 Comment
Image Analyst
on 19 May 2016
I first thought you want a sine wave in the frequency domain, but you don't - your sine wave is in the time or spatial domain. More precise/less ambiguous wording would be "I would like to plot the spectrum, in the frequency domain, of a time domain signal that is a sine or cosine wave in the time domain."
Answers (2)
Star Strider
on 18 May 2016
0 votes
See specifically the code just above and below the first plot figure.
FAHAD AHMED
on 5 Jul 2021
0 votes
Plot a sine wave in time domain and transforms this sine wave into frequency domain.
Categories
Find more on Fourier Analysis and Filtering 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!