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

continuous signal to discrete

์กฐํšŒ ์ˆ˜: 1 (์ตœ๊ทผ 30์ผ)
Elaine Thoirs
Elaine Thoirs 2021๋…„ 11์›” 16์ผ
๋Œ“๊ธ€: Elaine Thoirs 2021๋…„ 11์›” 16์ผ
hello, im quite new to using matlab. im trying to convert the signal ๐‘ฅ(๐‘ก)=2sin(50๐œ‹๐‘ก)+1.5sin(2500๐œ‹๐‘ก)โˆ’3cos(6000๐œ‹๐‘ก) from continous to discrete then plot it. could anyone help please?

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

Dave B
Dave B 2021๋…„ 11์›” 16์ผ
You didn't really describe what you tried and where you got stuck...how about a simplified example that has all of the building blocks and then you can apply the knowledge to your equation?
x = linspace(0,10,1000);
y = sin(x*2*pi)*3 + cos(x*pi);
plot(x, y)
MATLAB has some great documentation, you can find just about all of it by searching google:
  ๋Œ“๊ธ€ ์ˆ˜: 1
Elaine Thoirs
Elaine Thoirs 2021๋…„ 11์›” 16์ผ
Hey, ive tried using the c2d command i thought that might work but i always get errors

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

์นดํ…Œ๊ณ ๋ฆฌ

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

ํƒœ๊ทธ

Community Treasure Hunt

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

Start Hunting!

Translated by