|
From: | Marco Caliari |
Subject: | Meaning of * (mtimes) for nd-arrays |
Date: | Mon, 15 Feb 2016 10:41:20 +0100 (CET) |
User-agent: | Alpine 2.10 (DEB 1266 2009-07-14) |
Dear all,I recently discovered that [1;2;3;4]*ones(1,1,3), for instance, gives a four-by-three matrix. I would have expected an error (like in Matlab) or a four-by-one-by-three array. So, what is the definition? Is it just squeeze("outer product")? Is it documented? A similar thing happens with kron.
Thanks, Marco
[Prev in Thread] | Current Thread | [Next in Thread] |