[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Array cell problem with operation scalar
From: |
Mike Miller |
Subject: |
Re: Array cell problem with operation scalar |
Date: |
Thu, 19 Jul 2018 11:25:55 -0700 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Thu, Jul 19, 2018 at 12:57:20 -0500, shivax wrote:
> error: binary operator '>' not implemented for 'cell' by 'scalar' operations
You want to learn about the differences in cell array indexing.
>> A = {-1, 0, 12, 3};
>> A(3)
ans =
{
[1,1] = 12
}
>> A{3}
ans = 12
https://octave.org/doc/interpreter/Indexing-Cell-Arrays.html
--
mike
signature.asc
Description: PGP signature