@LuisMendo, have you considered a "Compare" function? Doesn't exist in MATLAB, but it could be useful. -Zs for comparing two numbers is long (are there shorter solutions?). What about C (or something else) for comparing two numbers, giving -1, 0, 1 out?
@StewieGriffin Well, I don't think it's used so often to deserve a specific function, let alone a single-char one (currently there are only two one-char names free)
I couldn't find of a shorter way to that answer. That would have been my approach too
Equivalently: ,iYm]-ZS, where ,] is a "do-twice" loop
Kudos for those who made the MATL compiler. I was surprised to see that 4Y29YS is correctly interpreted as 4Y2 9YS - I initially already added the space because 'surely' 29 would be interpreted as a numeric literal, but I was happy to be proven wrong.
@LuisMendo Z> and Z< are free though :) But perhaps a bit of a waste to reserve a slot for effectively only 1 byte saved. I'm do wonder what will take the place of C and ; though; especially the later could introduce a whole new syntax - the future of MATL is exciting!
@Sanchises :-D Yes, ; seems to deserve something special. I don't plan on big changes though; I'll probably just keep adding normal functions that turn out to be useful and mising
Hmmm I suppose I could walk and talk by then, but I didn't start programming until I was... Twelve? We had a copy of Visual Basic, I got to play with the source code of a cellular automaton my dad made, using the MSDN manual sparingly due to our 300MB monthly data limit. Good old times.