Problem 45803. SatCom #7: Thermal Noise in a Receiver
Solution Stats
Problem Comments
-
3 Comments
I passed all the tests but the regex fails.
Error msg:
Error using contains First argument must be text. Error in Test4 (line 4) assert(isequal(sum(contains(s,'regexp')),y_correct))
fixed by suppressing outputs
That is weird, as un-suppressing outputs usually should not have any problem to solution.
I checked the test suite and found that the OP used importdata instead of fileread to check for regexp, which caused that particular error. I have edited the test case.
@Addison your earlier solution is rescored to be correct.
Solution Comments
Show commentsProblem Recent Solvers81
Suggested Problems
-
Find the sum of all the numbers of the input vector
53453 Solvers
-
Project Euler: Problem 10, Sum of Primes
2086 Solvers
-
Back to basics 23 - Triangular matrix
1115 Solvers
-
Calculate the height of an object dropped from the sky
281 Solvers
-
Calculate the average value of the elements in the array
1646 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!