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

13 ビュー (過去 30 日間)
how to create sine wave with 50hz frequency for 1001 data points and sampling frequency 250Hz and change its amplitude?

採用された回答

Image Analyst
Image Analyst 2014 年 12 月 24 日
Hint:
Use linspace () to create t. Then
y = amplitude * sin(2 * pi * freq * t)
Come back with your code if you still have trouble.

その他の回答 (2 件)

totalaeiouoo@gmail.com soe
totalaeiouoo@gmail.com soe 2017 年 6 月 27 日
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.

Abdifitah Abdullahi
Abdifitah Abdullahi 2023 年 1 月 19 日
編集済み: Abdifitah Abdullahi 2023 年 1 月 19 日
I need to analys total hormonic distortion in this wave form using mtlab programing code, so can some one helping me

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by