Problem 1724. Calculate the peak value of square wave
50.0% Correct | 50.0% Incorrect
Last Solution submitted on May 25, 2023
Matthew Eicholtz on 19 Jul 2013
I think the answers in the test suite may be incorrect. Regardless, please make the test suite more robust.
yurenchu on 14 Aug 2017
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)".
Solution CommentsShow comments
Problem Recent Solvers78
Back to basics 4 - Search Path
Count decimal digits of a number
construct matrix with identical rows
Matlab Basics - Switching Assignments
More from this Author9
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!