Problem 49637. Matrix Pattern 10
Doddy -- I think the bottom row of y_correct in problem 4 (x = 7) is incorrect.
I have checked again and they are correct. By the way, the test cases have been checked by MathWorks before I can publish the problem. If you already get a generic formula for the previous cases, it should work for x=7 as well. Hint: There are two other mathematical constants involved in the solution.
I think when x=7,the y(7,1)is 62 not 61
tip: pi and e are used as factors.
Solution CommentsShow comments
Problem Recent Solvers44
Set the array elements whose value is 13 to 0
Getting the indices from a matrix
Given a square and a circle, please decide whether the square covers more area.
More from this Author180
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!