Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers89
Suggested Problems
-
Flip the main diagonal of a matrix
905 Solvers
-
Duplicate each element of a vector.
636 Solvers
-
315 Solvers
-
Square wave average calculation
131 Solvers
-
Find and replaces spaces from a input string with *
172 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I think the answers in the test suite may be incorrect. Regardless, please make the test suite more robust.
I think the answers in your test suite are incorrect. If "peak value of a sine wave" (X) and "peak value of a square wave" (Y) are understood to be defined consistently, then (given equal RMS voltage) Y should be found as "X divided by sqrt(2)", not as "X multiplied by sqrt(2)".