MATLAB: Is the .* operator explained wrong on its page

times

The last description of how .* may be used on MathWorks offers an example:
{
a = [1 2 3]
b = (1:6)'
C = a.*b
}
However, this seems to be blatantly false, or for some reason, my matlab doesn't allow this to work, and there appears to be no other support for this on their website. Am I missing something?

Best Answer

That syntax and use of operations is correct because starting with R2016b automatic expansion was introduced. I agree it's a little tricky to figure out what's going on if you're used to the old way.
Related Question