|
From: | Thomas D. Dean |
Subject: | Re: Help |
Date: | Tue, 30 Jul 2019 11:02:09 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 7/30/19 10:17 AM, Orlando Cerrutti wrote:
I do not understand why I have this error message, thanks for your help Orlando. >> X={1,2;3,4} X = { [1,1] = 1 [2,1] = 3 [1,2] = 2 [2,2] = 4 } >> Y=X'*X error: binary operator '*' not implemented for 'cell' by 'cell' operations >>
The error message is correct. '{' and '}' delimit cell data. I believe you want to use '[' and ']' X = [1, 2; 3, 4]
[Prev in Thread] | Current Thread | [Next in Thread] |