Maker Pro
Maker Pro

PWM frequency and LC filter

I'm new here, I have some fairly basic doubt. I am creating a PWM signal in MatLab by comparing a sine wave (50Hz) and a triangular wave (2kHz) .... So what is the PWM frequency will output?

After getting the PWM signal filters I want to get a sinusoid, using an LC filter, but do not know what the frequency of cut should I use?

Thanks for help
 
Does this help? The yellow plot shows the PWM output as 2kHz. I'm surprised MatLab can't tell you?
SineTriangle.PNG
 
Top