Problem 2457. Find 100 from a Matrix and Replace With 0 with less computation time
Solution Stats
Problem Comments
-
3 Comments
Shravankumar P
on 23 Jul 2014
tell me how to find the 't'
Deepesh B
on 25 Jul 2014
tic
Find_And_Replace(x);
t = toc;
Matthew Eicholtz
on 16 Feb 2016
I'm not sure how the computation time matters here. Is it just for our personal benefit? A solution will pass even if it is very slow.
Problem Recent Solvers90
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2412 Solvers
-
Check if number exists in vector
7276 Solvers
-
Determine the number of odd integers in a vector
538 Solvers
-
Switch matrix to a column vector
297 Solvers
-
Matrix of almost all zeros, except for main diagonal
160 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!