This video shows the steps to create a PWM (Pulse Width Modulation) waveform using the Clock block’s signal. This video starts by explaining the basics of PWM signal and then explains the output of Clock block. Finally it shows how a remainder function from the Matlab Function block can be used to convert the linear timer output first to triangular waveform. Then using a switch block, the triangular waveform is converted into PWM waveform of desired Amplitude, periodicity and duty cycle.
We will be glad to hear from you regarding any query, suggestions or appreciations at: firstname.lastname@example.org