Problem 49652. Find the spot diameter from the intensity distribution matrix of single spot (circle)
16.0% Correct | 84.0% Incorrect
Last Solution submitted on Nov 20, 2022
Tim on 30 Dec 2020
In your example, the distance from 100 to 13.53 is sqrt(2), so the diameter should be 2*sqrt(2). The test suite values also do not seem to make sense.
Sibi on 5 Jan 2021
The example had an error, now it's fixed.
Dyuman Joshi on 13 Aug 2021
Test 7, max(x(:))=152; 13.5% of 152 = 20.52, which is not present in the matrix. Same goes for the rest of the cases.
I feel like I am missing something.
Solution CommentsShow comments
Problem Recent Solvers3
Project Euler: Problem 10, Sum of Primes
Split a string into chunks of specified length
Diophantine Equations (Inspired by Project Euler, problem 66)
More from this Author33
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!