필터 지우기
필터 지우기

sin wave with difference sampling frequency?

조회 수: 3 (최근 30일)
Mary Jon
Mary Jon 2013년 12월 29일
편집: aadharsh parameshwar 2020년 1월 31일
How can generate sine() with 100 ,150,1000,1500 ,sampling frequency ?

채택된 답변

Wayne King
Wayne King 2013년 12월 29일
Simply change the increments at which the time vector is sampled.
100 Hz sampling frequency:
Fs = 100;
t = 0:1/Fs:1;
x = cos(2*pi*10*t);
Now change Fs to 150 and so son
Fs = 150;
t = 0:1/Fs:1;
x = cos(2*pi*10*t);
  댓글 수: 2
MD Zaid
MD Zaid 2019년 5월 2일
why cos? why are we not using sin?
aadharsh parameshwar
aadharsh parameshwar 2020년 1월 31일
편집: aadharsh parameshwar 2020년 1월 31일
in frequency domain sin we integrate to get cos
thats what i thnk... pls forgive me if my answer is wrong...

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

RAJESHWARI G N
RAJESHWARI G N 2019년 3월 28일
How to genarate sinusoidal signal with 50hz freq,2 unit magnitude using sampling rate 500hz and total no of points 1024. then compute DFT

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by