I want to generate a pulse with a frequency between 1KHz and 10KHz in order to move motors
5 views (last 30 days)
Show older comments
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 Comments
Answers (3)
Bhanu Prakash Rachaputi
on 18 Jan 2019
you can use 1/1000 (accepted form) instead of .001.
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!