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
Replace NaNs with the number that appears to its left in the row.
It dseon't mettar waht oedrr the lrettes in a wrod are.
Get the length of a given vector
Index of neighbor pixel with steepest gradient
More from this Author33
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!