This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Marcel
on 8 Jan 2014
Nice solution, I overlooked the potential usage of ind2sub.
J.R.! Menzinger
on 9 Jan 2014
You should use 'varargin' here ;-)
take a look: http://www.mathworks.de/matlabcentral/cody/problems/2091-return-row-and-column-indices-given-2-values-which-define-a-range/solutions/382339
Suggested Problems
-
Calculate the Levenshtein distance between two strings
1470 Solvers
-
881 Solvers
-
273 Solvers
-
525 Solvers
-
796 Solvers
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!