how to generate a square wave with a fundamental frequency of 50hz?

This is my first time to use MATLAB. how can i generate a square wave with a fundamental frequency of 50hz? Then how to obtain a plot that shows 20 periods of the square wave?

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by