Frequency domain and Shannon limit
2 views (last 30 days)
Show older comments
Hi all,
I am a newbie in MATLAB coding. I have some questions related to frequency domain.
I have an sine wave equation as below:
x1= A1*sin(2*pi*f1*t+phi)
With A1 = 1; phi = pi/2
My question is.
How to represent x1 in frequency domain for different values of f1 and different value of fs (how to make sure Shannon limit is repected in this case).
Thank you all.
0 Comments
Answers (1)
Robert U
on 12 Oct 2020
Hi long le,
Matlab documentation is quite nice since it provides several examples on key topics. One possibility to transform time dependent signal into frequency domain is the fast fourier transform (short: fft). Matlab has an inbuilt function for that. How to use it is described in the documentation: https://de.mathworks.com/help/matlab/ref/fft.html
Whether the Shannon-limit is respected or not, you can question using an if-statement before the domain transformation (https://de.mathworks.com/help/matlab/ref/if.html)
Kind regards,
Robert
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!