variable sine wave for DAC

2 ビュー (過去 30 日間)
brain engineer
brain engineer 2018 年 4 月 11 日
回答済み: jonathan taylor 2018 年 4 月 13 日
I am new to MATLAB environment,I want to generate variable sine-wave[0-10hz] points for external DAC by using fixed look up table,i will send points to micro-controller via Dll(dynamic link lib). my end product is PID controller.
Regards
GermanEngineer

回答 (1 件)

jonathan taylor
jonathan taylor 2018 年 4 月 13 日
x=[0:.01:1000]
y=x/2pi %or whatever frequency modulation you want
z=sin(x)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by