matlab code to generate frequency signal with RF values

조회 수: 4 (최근 30일)
Anuja Patil
Anuja Patil 2017년 2월 10일
답변: Sapna Gupta 2019년 9월 27일
Frequency in the range 3000Hz

답변 (2개)

Honglei Chen
Honglei Chen 2017년 2월 10일
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

Sapna  Gupta
Sapna Gupta 2019년 9월 27일
f = 3000;
N = 1000; % number of samples in signal
fs = 1e4; % sampling rate
x = sin(2*pi*f*(0:N-1)/fs);

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by