help-octave
[Top][All Lists]
Advanced

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

Re: searching for the elegant code (matrix indexing and more)


From: Juan Pablo Carbajal
Subject: Re: searching for the elegant code (matrix indexing and more)
Date: Wed, 22 Jan 2014 23:02:53 +0100

On Wed, Jan 22, 2014 at 9:49 PM, Andrei Bobrov <address@hidden> wrote:
> [a,b,c,d,e] = ndgrid(1:2);
>  sig1 = a.*b.^2 - c.*d.^3 +10*e;
>
>
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/searching-for-the-elegant-code-matrix-indexing-and-more-tp4661265p4661281.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

cool little function!
the natural extension of meshgrid.

thx!


reply via email to

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