[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting y(:)=x to work when y has not yet been defined?
From: |
niles |
Subject: |
Re: Getting y(:)=x to work when y has not yet been defined? |
Date: |
Thu, 02 May 96 21:31:58 -0400 |
> Hello,
> I was wondering if there is some option that will enable Octave to
> allow statements like, as allowed in MATLAB:
>
> y(:)=x
>
> where x is an arbitrary vector, and y has not previously been defined.
Er..this is easy just do:
y = x
done. No colon needed.
Hope this ans. your question.
Rick Niles.