I want to generate a pulse with a frequency between 1KHz and 10KHz in order to move motors
6 ビュー (過去 30 日間)
古いコメントを表示
I am using the block "Pulse Generator" from the sources block of simulink, I would like to get 1KHz of frequency which is 0.001 of T(Period), but the period parameter doesn't accept decimal numbers but integers, so what would be the correct way to generate the PWM with that frequency, Im guessing that the sample time is involved here but I dont know how, thank you in advice!
0 件のコメント
回答 (3 件)
Bhanu Prakash Rachaputi
2019 年 1 月 18 日
you can use 1/1000 (accepted form) instead of .001.
0 件のコメント
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!