sin wave with difference sampling frequency?
2 views (last 30 days)
Show older comments
Mary Jon
on 29 Dec 2013
Edited: aadharsh parameshwar
on 31 Jan 2020
How can generate sine() with 100 ,150,1000,1500 ,sampling frequency ?
0 Comments
Accepted Answer
Wayne King
on 29 Dec 2013
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 Comments
aadharsh parameshwar
on 31 Jan 2020
Edited: aadharsh parameshwar
on 31 Jan 2020
in frequency domain sin we integrate to get cos
thats what i thnk... pls forgive me if my answer is wrong...
More Answers (1)
RAJESHWARI G N
on 28 Mar 2019
How to genarate sinusoidal signal with 50hz freq,2 unit magnitude using sampling rate 500hz and total no of points 1024. then compute DFT
0 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!