[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cell2mat problem
From: |
LucaLuca |
Subject: |
cell2mat problem |
Date: |
Sat, 28 Jul 2018 11:31:33 -0500 (CDT) |
hi,
look that:
risulcorrelazMatrixResult =
{
[1,1] =
{
[1,1] = 4
[1,2] = 5
[1,3] = 6
}
[1,2] = 2
[1,3] =
{
[1,1] = 4
[1,2] = 5
}
[1,4] = 4
[1,5] =
{
[1,1] = 2
[1,2] = 3
}
[1,6] = 6
[1,7] = 7
[1,8] = 8
[1,9] = 9
[1,10] = 10
[1,11] = 11
it's array cell
i need to use the scalar in the array cell
i can't to write:
if risCorrMatrix{yy}(1)>0 ..
error: binary operator '>' not implemented for 'cell' by 'scalar'
operations
Ok now i think give to use cell2mat to convert it in matrix
i try this:
>> cell2mat(risulcorrelazMatrixResult)
error: cell2mat: wrong type elements or mixed cells, structs, and matrices
error: called from
cell2mat at line 54 column 11
but i get a error
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cell2mat problem,
LucaLuca <=