matlab code to generate frequency signal with RF values
7 views (last 30 days)
Show older comments
Frequency in the range 3000Hz
0 Comments
Answers (2)
Honglei Chen
on 10 Feb 2017
I'm not sure what you mean but you can generate a 3000 Hz signal like below
f = 3000;
N = 1000; % number of samples in signal
fs = 1e4; % sampling rate
x = sin(2*pi*f*(0:N-1)/fs);
However I wouldn't consider 3000 Hz as RF, it is still in the audible range.
HTH
0 Comments
Sapna Gupta
on 27 Sep 2019
f = 3000;
N = 1000; % number of samples in signal
fs = 1e4; % sampling rate
x = sin(2*pi*f*(0:N-1)/fs);
0 Comments
See Also
Categories
Find more on Signal Processing Toolbox 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!