how to create sine wave with 50hz frequency for 1001 data points and sampling frequency 250Hz
13 views (last 30 days)
Show older comments
how to create sine wave with 50hz frequency for 1001 data points and sampling frequency 250Hz and change its amplitude?
0 Comments
Accepted Answer
Image Analyst
on 24 Dec 2014
Hint:
Use linspace () to create t. Then
y = amplitude * sin(2 * pi * freq * t)
Come back with your code if you still have trouble.
More Answers (2)
totalaeiouoo@gmail.com soe
on 27 Jun 2017
Create two sinusoidal waves, one with frequency=7 Hz and the other with 40 Hz for 1001 data points.
Assume the sampling frequency (Fs) is 250 Hz and both signals have same amplitude. Plot these
signals using the subplot function.
0 Comments
Abdifitah Abdullahi
on 19 Jan 2023
Edited: Abdifitah Abdullahi
on 19 Jan 2023
I need to analys total hormonic distortion in this wave form using mtlab programing code, so can some one helping me
1 Comment
See Also
Categories
Find more on Spectral Measurements 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!