ํ•„ํ„ฐ ์ง€์šฐ๊ธฐ
ํ•„ํ„ฐ ์ง€์šฐ๊ธฐ

Plotting a signal sin(2*pi*f*t) and obtaining a discrete periodic signal.

์กฐํšŒ ์ˆ˜: 16 (์ตœ๊ทผ 30์ผ)
Ahsan Q
Ahsan Q 2020๋…„ 11์›” 10์ผ
๋Œ“๊ธ€: Ahsan Q 2020๋…„ 11์›” 10์ผ
Given:
Discreet signal: sin((2๐œ‹f/fs)โˆ™nโˆ™T)for n=0,1,2,..
f=26;
fs=200;
n=2;
dt=0.005;
t=n*dt;
Required:
T==> I have to pick an integer value of T>1 such that sin((2๐œ‹f/fs)โˆ™nโˆ™T)is a periodic discrete signal.
How to graph periodic continuous signal sin(2๐œ‹ft) and periodic discrete signal sin((2๐œ‹f/fs)โˆ™nโˆ™T)

์ฑ„ํƒ๋œ ๋‹ต๋ณ€

Setsuna Yuuki.
Setsuna Yuuki. 2020๋…„ 11์›” 10์ผ
You can use plot to graph continuous signal, and stem to graph discrete signal.
For example:
t = 0:6e-2:1;
signal = sin(2*pi*t);
subplot(2,1,1)
stem(t,signal)
subplot(2,1,2)
plot(t,signal)
  ๋Œ“๊ธ€ ์ˆ˜: 1
Ahsan Q
Ahsan Q 2020๋…„ 11์›” 10์ผ
How should I go about finding the T value so that sin((2๐œ‹f/fs)โˆ™nโˆ™T) is a periodic signal. I saw that you only plotted sin(2*pi*t). Otherwise the answer is perfect!

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์ถ”๊ฐ€ ๋‹ต๋ณ€ (0๊ฐœ)

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Subplots์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by