Problem 45492. SatCom #1: Wavelength of an electomagnetic wave

Solution 2254580

Submitted on 4 May 2020 by bainhome
  • Size: 10
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
f = 500e6; y_correct = 0.599584916; assert(isequal(freq2wave(f),y_correct))

2   Pass
f = 200; y_correct = 1.498962290000000e+06; assert(isequal(freq2wave(f),y_correct))

3   Pass
s=importdata('freq2wave.m'); y_correct=false; assert(isequal(sum(contains(s,'regexp')),y_correct))

Suggested Problems

More from this Author6

Community Treasure Hunt

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

Start Hunting!