Problem 1724. Calculate the peak value of square wave
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
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)".
Solution Comments
Show commentsProblem Recent Solvers85
Suggested Problems
-
Return the largest number that is adjacent to a zero
5343 Solvers
-
14026 Solvers
-
298 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
823 Solvers
-
Put Two 1D matrices into one 1D matrix
134 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!