フィルターのクリア

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 ExchangeSignal Attributes and Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by