help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Array cell problem with operation scalar


From: shivax
Subject: Array cell problem with operation scalar
Date: Thu, 19 Jul 2018 12:57:20 -0500 (CDT)

i've an array Cell

gt =
{
  [1,1] = -1
  [1,2] = -1
  [1,3] = -1
  [1,4] =  5
  [1,5] =  4
  [1,6] = -1
  [1,7] = -1
  [1,8] = -1
  [1,9] = -1
  [1,10] = -1
  [1,11] = -1
}

i try to execute :

if qt(4)>0 
,...

i see this error :

error: binary operator '>' not implemented for 'cell' by 'scalar' operations

i think i give to convert cell Array in scalar

how can i do it? thanks







--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]