I hope to show that aliasing occurs for more than one sinusoid

3 ビュー (過去 30 日間)
Changhyun Kim
Changhyun Kim 2022 年 3 月 31 日
コメント済み: Les Beckham 2022 年 3 月 31 日
I want to show that aliasing occurs for more than one sinusoid, such as sample like this
x(t) = 3*cos(2*pi*300*t+pi/3) + 8*cos(2*pi*800*t-pi/5) at fs=500Hz
% fs means sample frequency
.
.
truly thnx for kindness

採用された回答

Les Beckham
Les Beckham 2022 年 3 月 31 日
Perhaps you are looking for something like this?
t = 0:1/500:0.02;
x = 3*cos(2*pi*300*t+pi/3) + 8*cos(2*pi*800*t-pi/5);
plot(t,x)
t = 0:1/50000:0.02;
x = 3*cos(2*pi*300*t+pi/3) + 8*cos(2*pi*800*t-pi/5);
hold on
plot(t,x)
legend('sampled at 500 Hz - aliasing', 'sampled at 50 KHz')
title 'Sum of two sinusoids at 300 and 800 Hz'
grid on
  2 件のコメント
Changhyun Kim
Changhyun Kim 2022 年 3 月 31 日
thxthx, i appreciate ur help
Les Beckham
Les Beckham 2022 年 3 月 31 日
You are welcome.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by