help-octave
[Top][All Lists]
Advanced

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

Re: Initialize array cell


From: Ian McCallion
Subject: Re: Initialize array cell
Date: Wed, 18 Jul 2018 13:01:19 +0100



On 18 July 2018 at 12:38, shivax <address@hidden> wrote:
hi,

how i initialize a  Cell Arrays?

i need to use Cell Array of n element

Before i use it..i want initialize to value -1

a=cell(1,3)
a(:)=-1

Cheers... Ian

reply via email to

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