Problem 2457. Find 100 from a Matrix and Replace With 0 with less computation time

pls use this matrix

 x = [208    40   167   180   112    70   192   215    90    19
      231   100     9   100    97   100    65   100   100   100
      32   245   100    70   195   167   129   208   149   135
      233   124   239   100   203    41   178    62   140   199
      161   204   173    24   100    30   228   237   234   239
      24    36   193   210   125   127   245    89    73    33
      71   107   190   177   114   245   140   100   193   145
      140   100   100    81   165    87    35    64   192   120
      245   202   167   100   181   149    38   157   100   100
      100   245   100   100   193   100   100   121   145    86];

and find out Computation time using tic and toc this a challenge that who can give minimum computation tile

i got t = 6.1917e-04 sec for Intel® Core™2 CPU 6400 @ 2.13GHz and RAM 4GB

do yourself and update values of t

Note : Sysconfig is Not an issue finally we can analyze that so u can do by ur own machine and specify ur configuration

Solution Stats

74.84% Correct | 25.16% Incorrect
Last Solution submitted on Jan 29, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers106

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!