[a b c]=[1 2 3]
James Sherman Jr.
shermanj at umd.edu
Tue Jun 9 13:38:34 CDT 2009
I think you want the function deal.
[a b c] = deal(1,2,3)
On Tue, Jun 9, 2009 at 1:31 PM, oxy <oxyopes at googlemail.com> wrote:
> Hi all,
>
> i know, there is a command to assign at once all elements
> of a vector like:
>
> [a b c] = [1 2 3]
>
> I cant find it. Does anyone remember?
>
> Thanx ...
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090609/1fb48b47/attachment.html
More information about the Help-octave
mailing list