MATLAB: How to create sine wave with 50hz frequency for 1001 data points and sampling frequency 250Hz

digital signal processing

how to create sine wave with 50hz frequency for 1001 data points and sampling frequency 250Hz and change its amplitude?

Best Answer

Hint:
Use linspace () to create t. Then
y = amplitude * sin(2 * pi * freq * t)
Come back with your code if you still have trouble.
Related Question