MATLAB desktop keyboard shortcuts, such as Ctrl+S, are now customizable. In addition, many keyboard shortcuts have changed for improved consistency across the desktop. To customize keyboard shortcuts, use Preferences. From there, you can also restore previous default settings by selecting "R2009a UNIX Default Set" from the "Active settings" drop-down list. For more information, see Help. Click here if you do not want to see this message again. >> 9 ans = 9 >> 9; >> 9 ans = 9 >> 9; >> x = 9 x = 9 >> x x = 9 >> find([1 2 3], 5) ans = 1 2 3 >> find([1 2 3], 2) ans = 1 2 ??? Input argument "nums" is undefined. Error in ==> find at 2 middle = floor(size(nums, 2)/2); >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 Error in ==> not_built_in_find at 2 middle = floor(size(nums, 2)/2); ??? Output argument "a" (and maybe others) not assigned during call to "/home/3170a/usra/121/74097/august1-12j/not_built_in_find.m>not_built_in_find". >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 a = 4 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 90) == 9 ??? Operation terminated by user during ==> not_built_in_find at 13 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 90) == 9 a = 9 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 90) == 9 a = 9 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 ??? Operation terminated by user during ==> not_built_in_find at 9 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 90) == 9 a = 9 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 ??? Operation terminated by user during ==> not_built_in_find at 12 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 middle = 2.5000 ??? Attempted to access nums(2.5); index must be a positive integer or logical. Error in ==> not_built_in_find at 6 while nums(middle) ~= num >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 40) == 4 a = 4 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 90) == 9 a = 9 ans = 1 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 42) == -1 ??? Operation terminated by user during ==> not_built_in_find at 13 >> not_built_in_find([10 20 30 40 50 60 70 80 90 100], 42) == -1 a = -1 ans = 1 >>