Re: Is there a logic to [1:3] being a warning?



Anyway, I was talking to one of the developers this morning, and he told me
about another motivation for M-Lint flagging the use of square brackets
around a vector. In fact, when I did a little searching, I found this is
something that Loren wrote about a little over three years ago in this blog
post:

http://blogs.mathworks.com/loren/2006/07/12/what-are-you-really-measuring/

That is an argument I buy.

I like to run warning-free code. When I am building vectors for development and testing purposes I constantly modify them, going from simple counters to more exotic concatenations. I end up doing alot of erasing and rewriting of the square brackets to eliminate the warnings. As I use a swedish keyboard, the [] are on alt-keys as well, making them extra slow to type giving me the motivation to argue this admittedly trivial issue.
.



Relevant Pages

  • Re: Motivation to do Algebraic Geometry
    ... I'm searching for a similar motivation to do algebraic topology as the ... For which n in Z can you find a right-angle triangle with rational sides? ...
    (sci.math)
  • Re: Motivation to do Algebraic Geometry
    ... I'm searching for a similar motivation to do algebraic topology as the ... using algebraic geometry will be out of reach for me for many many ...
    (sci.math)
  • Re: Motivation to do Algebraic Geometry
    ... I'm searching for a similar motivation to do algebraic topology as the ... using algebraic geometry will be out of reach for me for many many ...
    (sci.math)