Problem 1920. Find the position of first minimum value in an integer array with numbers
Solution Stats
Problem Comments
Solution Comments
-
4 Comments
please explain the solution.
The ~ is a dummy variable, and isn't needed for the calculation. Some earlier versions of MATLAB don't have that option, and will give you an error with that statement. If you have that happen, you can use dummy or junk as the variable name in place of the ~.
thanks James
I'm late, but James answer ist perfect! ;-)
Problem Recent Solvers159
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2404 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
433 Solvers
-
Basics: 'Find the eigenvalues of given matrix
358 Solvers
-
472 Solvers
-
2395 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!