Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Analog sine wave to binary wave?

1 回表示 (過去 30 日間)
Mustafa Jameel
Mustafa Jameel 2019 年 2 月 5 日
閉鎖済み: Sabin 2023 年 9 月 29 日
Hi all,
can anyone show me how to convert a sine wave to a binary wave please?
Thank You,
t=0:0.01:1000; %time axis
a= 7; % amplitude
f= 0.5; % frequency
y= a*sin(2*pi*t*f); % sine wave equation
plot(t,y);
  1 件のコメント
Star Strider
Star Strider 2019 年 2 月 5 日
Please define ‘binary wave’.
Do you want it to have two states with a threshold (essentially a square wave), or something else?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by