[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
about the cell () function
From: |
Jose de Zarate |
Subject: |
about the cell () function |
Date: |
Wed, 01 Sep 2004 21:51:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Thunderbird/0.7.1 Mnenhy/0.6.0.104 |
hi, this a silly question about the cell function. what is it for??
it seemed to me like a matrix container. I can define a nxm cell
container with cell (n,m), and I can also assign it to a variable (name
it 'pepe'), but I just can't find the way of assigning values of
particular cells of my cell variable. I try pepe(1,1)=4 (or whatever),
but i get this error:
error: range error
error: T& Array2<t>:: checkelem(0,-1): range error
error: evaluating assignment expresion near (blah, blah).
So this is somehow crazy, I can define an empty nxm container, but I can
do nothing with it????
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- about the cell () function,
Jose de Zarate <=