Problem 49627. Matrix Pattern 8
Find the pattern for the elements of the matrix.
mat_pattern(2) = [
0.5000 0.2500
1.0000 0.5000];
mat_pattern(3) = [
0.5000 0.2500 0.1667
1.0000 0.5000 0.3333
1.5000 0.7500 0.5000];
Solution Stats
Problem Comments
-
1 Comment
Yunpeng Teng
on 7 Jan 2021
The accuracy problem is painful
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
625 Solvers
-
Sum of first n positive integers
620 Solvers
-
517 Solvers
-
Find the max element of the array
2100 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!