tag:blogger.com,1999:blog-4229455449867099806.post1022890045863680900..comments2010-07-27T08:53:45.944-05:00Comments on JoeyBreak Sweetness: Identifying Integers in MATLABJoeyBreakhttp://www.blogger.com/profile/04746763104597185741noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4229455449867099806.post-37381734970453327552010-07-27T08:53:39.280-05:002010-07-27T08:53:39.280-05:00None of those zeros in the integers matrix were a ...None of those zeros in the <i>integers</i> matrix were a part of the original <i>A</i> matrix. An original <i>0</i> integer would be difficult to identify when mixed in with all the other non-integer digits that get reduced to zero (at least when looking at the data) but I imagined that some users would be dealing with very large matrices in which they weren't looking at the data. I wondered if it would be better for the function to return a single row matrix of just the integers without setting non-integers to zero but by also returning the locations of the integers, the end-user would be able to do so with only a few lines of code. Would you think it better for the function to have an extra boolean input to just output a single row matrix of just the integers?JoeyBreak.comhttps://www.blogger.com/profile/04746763104597185741noreply@blogger.comtag:blogger.com,1999:blog-4229455449867099806.post-92092532113012410762010-07-26T20:05:57.684-05:002010-07-26T20:05:57.684-05:00You're right, that would come in handy!! Those...You're right, that would come in handy!! Those zero-value integers are tough to find. :)Kyle0101https://www.blogger.com/profile/02805114498304707477noreply@blogger.com