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: Andrei Bobrov
Subject: Re: searching for the elegant code (matrix indexing and more)
Date: Wed, 22 Jan 2014 12:49:49 -0800 (PST)

[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.


reply via email to

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