help-octave
[Top][All Lists]
Advanced

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

use type cell as scalar


From: shivax
Subject: use type cell as scalar
Date: Sat, 4 Aug 2018 03:57:33 -0500 (CDT)

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



reply via email to

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