[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with {} construction rules
From: |
Julien Bect |
Subject: |
Re: Help with {} construction rules |
Date: |
Wed, 31 Dec 2014 17:34:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Le 31/12/2014 17:19, Rik a écrit :
12/30/14
Can someone run the following code under Matlab and send back the diary
file? I believe that Matlab is checking every element for being empty and
discarding any it finds (https://savannah.gnu.org/bugs/?43113).
% Matlab doesn't discard empty elements
% For example, in Matlab R2012a
>> {[], [], []}
ans =
[] [] []
diary on
{1, 2 ; ; 3, 4}
{1, 2 ; [] ; 3, 4}
>> {1, 2 ; [] ; 3, 4}
Error using vertcat
CAT arguments dimensions are not consistent.