plot 2 signals for sin(t)

์กฐํšŒ ์ˆ˜: 4 (์ตœ๊ทผ 30์ผ)
Mohammed Alqahtany
Mohammed Alqahtany 2023๋…„ 10์›” 19์ผ
๋Œ“๊ธ€: Sam Chak 2023๋…„ 10์›” 19์ผ
๐‘ฅ3 (๐‘ก) = sin(๐‘ก) ๐‘“๐‘œ๐‘Ÿ ๐‘ก โˆˆ [0,6] ๐‘Ž๐‘›๐‘‘ ๐‘ก๐‘ 1 = 1 sec
๐‘ฅ4 (๐‘ก) = sin(๐‘ก) ๐‘“๐‘œ๐‘Ÿ ๐‘ก โˆˆ [0,6] ๐‘Ž๐‘›๐‘‘ ๐‘ก๐‘ 2 = 0.1 ๐‘ ๐‘’c
where ๐‘ก๐‘  is the step size used to sample the time interval [0,6]. a. For signals ๐‘ฅ3 (๐‘ก) and ๐‘ฅ4 (๐‘ก), use subplot function to plot them on the same figure one below the other. b. What is the difference between ๐‘ฅ3 (๐‘ก) and ๐‘ฅ4 (๐‘ก)? What do you suggest?
  ๋Œ“๊ธ€ ์ˆ˜: 2
Sam Chak
Sam Chak 2023๋…„ 10์›” 19์ผ
Can you sketch the expected plots for the sampled sine waves? Or wait for a free solution in the answer later.
Sam Chak
Sam Chak 2023๋…„ 10์›” 19์ผ
I think there are 7 points in the measurements of x3(t) because the sine wave is sampled every 1 second. Thus, over the 6 seconds, there should be 6 points plus the initial point at x3(0).

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

๋‹ต๋ณ€ (1๊ฐœ)

Sam Chak
Sam Chak 2023๋…„ 10์›” 19์ผ
After thinking about your learning experience, to learn exactly how sine wave is sampled at a fixed time step, you can try the plotting technique described at this link:
  ๋Œ“๊ธ€ ์ˆ˜: 2
Mohammed Alqahtany
Mohammed Alqahtany 2023๋…„ 10์›” 19์ผ
thank you but still i cant solve it
Sam Chak
Sam Chak 2023๋…„ 10์›” 19์ผ
Alright, can you copy the code and show me the equation that cannot be solved? I'll see how to guide you from here.

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

์นดํ…Œ๊ณ ๋ฆฌ

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

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by