Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

Created by Deepesh B

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

Problem Group

Solution Statistics

29 correct solutions 8 incorrect solutions
Last solution submitted on Sep 20, 2014

Problem Comments