Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: Create empty 3-by-3 matrix

$
0
0


"Christoph " <grisi.huber@gmail.com> wrote in message
news:k68lle$bit$1@newscl01ah.mathworks.com...

*snip*

> i know, the thread is already quite old.
> however this solution has not been mentioned:
>
> zeros(0,0,0)
> ans =
> Empty array: 0-by-0-by-0

This creates an empty 3-dimensional array with size [0 0 0], which is not
what the OP asked for.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Viewing all articles
Browse latest Browse all 19628

Trending Articles