MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

View profile information

Company/University

Ball Aerospace and Technologies Corp.

353Rank

4Badges

915Score

Ben Ausdenmoore submitted Solution 118786 to Problem 31. Remove all the words that end with "ain"

on 25 Jul 2012

Ben Ausdenmoore submitted Solution 97107 to Problem 751. Implement simple rotation cypher

on 9 Jun 2012

Ben Ausdenmoore submitted a Comment to Problem 656. Calculate Euler's phi function

I'm pretty sure eulerphi(1) is 1. Mind checking that please! I'm just going off the table given through your link there.

on 4 May 2012

Ben Ausdenmoore submitted Solution 84740 to Problem 649. Return the first and last character of a string

on 2 May 2012

Ben Ausdenmoore submitted Solution 84739 to Problem 649. Return the first and last character of a string

on 2 May 2012

Ben Ausdenmoore submitted Solution 79729 to Problem 114. Check to see if a Sudoku Puzzle is Solved

on 20 Apr 2012

Ben Ausdenmoore submitted Solution 79700 to Problem 138. Number of 1s in the Binary Representation of a Number

on 20 Apr 2012

Ben Ausdenmoore submitted a Comment to Problem 597. The Birthday Phenomenon

@Gary What you might be seeing is that the default output from Matlab is only 5 digits (generally). So you're probably seeing something like 0.0027 for X = 2 but if you multiply that answer by 1000 you will see there are still some digits trailing after the 7.
@Venu I think that's just an issue with how I did the calculation on my end. You're right that I should have it as 0.9999 in the test suite even though that is super close to 1 (the actual probability). I'll also make it clear in the brief that the answer should be out to 4 decimal points.

on 20 Apr 2012

Ben Ausdenmoore submitted Solution 78660 to Problem 47. Extract leading non-zero digit

on 18 Apr 2012

Ben Ausdenmoore submitted Solution 78636 to Problem 247. Arrange Vector in descending order

on 18 Apr 2012

Ben Ausdenmoore submitted Solution 77889 to Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77876 to Problem 38. Return a list sorted by number of occurrences

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77856 to Problem 584. middleAsColumn: Return all but first and last element as a column vector

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77846 to Problem 589. Matrix indexing with two vectors of indices

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77845 to Problem 589. Matrix indexing with two vectors of indices

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77731 to Problem 73. Replace NaNs with the number that appears to its left in the row.

on 17 Apr 2012

Ben Ausdenmoore submitted Solution 77695 to Problem 135. inner product of two vectors

on 17 Apr 2012