sin wave with difference sampling frequency?

 채택된 답변

Wayne King
Wayne King 2013년 12월 29일

2 개 추천

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일

0 개 추천

How to genarate sinusoidal signal with 50hz freq,2 unit magnitude using sampling rate 500hz and total no of points 1024. then compute DFT

카테고리

제품

태그

질문:

2013년 12월 29일

편집:

2020년 1월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by