use type cell as scalar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

use type cell as scalar

shivax
This post was updated on .
hi,
i 've a datatype  cell

i give to use it for calculations

Example:

A is a cell ..  its value is 5 (it's an example)

typeinfo(A)=Cell;

if I want to access the value of the cell in A  i have to write {A} so I get
the scalar

the question is: can I safely use a type of data cell to do mathematical
calculations or is it better to have a scalar?



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