Problem 1920. Find the position of first minimum value in an integer array with numbers
70.92% Correct | 29.08% Incorrect
Last Solution submitted on Jan 26, 2023
Show 1 older comment
Awadhesh Srivastava on 9 Oct 2013
please explain the solution.
James on 9 Oct 2013
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 ~.
Awadhesh Srivastava on 10 Oct 2013
J.R.! Menzinger on 10 Oct 2013
I'm late, but James answer ist perfect! ;-)
Problem Recent Solvers172
Is my wife right? Now with even more wrong husband
Sum all integers from 1 to 2^n
Matlab Basics - Absolute Value
More from this Author2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!