How to write a Matlab function code for variable period, fixed ON time pulse?

1 view (last 30 days)
Requirements:
  • frequency varies from 100kHz to 200kHz or (timeperiod from 5microsec to 10microsec).Also, the frequency or time period should occur randomly. We should not be able to predict the frequency at a particular time.
  • On time or duty ratio is fixed. duty ratio = 0.806, or always on time = 80.6%of Time period.
  • The pulse amplitude is 1
  • It is to be fed as a gate pulse to a converter block in simulink.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!