Calculating RMS and Plotting Wave Graphs

3 views (last 30 days)
Joshua Platsman
Joshua Platsman on 15 Oct 2019
Answered: SaiDileep Kola on 18 Nov 2020
Generate three square waves in Matlab with a period of 1?? (? = 1??), minimum value of 0? (???? = 0?), and maximum value of 4? (???? = 0?), and duty cycles of 20%, 50%, and 80% (?[0] = 0.2, D[1] = 0.5, D[2] = 0.8). Use Matlab to calculate the root-mean-square (RMS) value for all three of these square waves using the definition of a RMS shown below.
Then create a triangle wave with the same maximum and minimum values as well as frequency (60??).
Thanks!

Answers (1)

SaiDileep Kola
SaiDileep Kola on 18 Nov 2020
Use the process given here, for further calculations of RMS and to create a triange wave check documentations.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!